How to add Google ads in Astra wordpress theme?
Add Google ads in Astra WordPress theme without using plugin:
Step1: Go to your WordPress dashboard, and click Appearence.
Step2: Click Widgets-> Add Custom HTML widget into Main Sidebar of Astra Theme.
Step3: Copy the Google Adsense ads code from Google AdSense dashboard and paste into it-> Click save and Click done.
Alternative way,
Step1: Go to your WordPress dashboard, Click posts.
Step2: If you using by default WordPress Gutenberg Block Editor, then first choose the position where you want to place the ads then click the + button or search custom HTML on Gutenberg Block Editor.
Step3: Add custom HTML blocks and Copy the Google Adsense ads code from the Google AdSense dashboard and paste it into it-> Click save.
when I add google search ads code so it does not show properly can you check and tell me why is this showing? (sidebar)