Once you have chosen your AdSense code and know where you’re placing it on your site, adding it can be done several different ways:
1. Theme – Some themes are designed to allow simple inputs for AdSense. All you have to do is go to theme settings to see if this is an option.
2. Plugin – There are AdSense plugins that can help with your ad placement.
3. Direct code – This is literally pasting the AdSense code into your files. You need some basic understanding of HTML to do this but it will give you the most control.
I use a Plugin: “add widgets to page”.
Use the shortcode: [addw2p name=”WidgetName”]
This will add a new widget that is accessible from the Appearance->Widgets.
You can add “Text/HTML” into the new Widget created.
You can paste your Adsense code in here and the Ad will appear where ever you use : [addw2p name=”WidgetName”] in your page or post.
There seems to be a bug, and to overcome it, I use a random text first and then add Adsense Code.
Eg:
The Text inside the Widget->Text goes like this:
“
<script>
…Adsense Script…
…Adsense Script…
…Adsense Script…
</script>
If you want to add Adsense code into your SideBar, you can simply add the “text/html” into the SideBar and do the above mentioned to add your Adsense Code.
I want to say “Thank You” to both of you for your help.
You’re kind and generous with your information.
I appreciate it very much!
You’re welcome! I take it you got it working.