I want to put Google AdSense section code like this <!– google_ad_section_start –> before single post start and <!– google_ad_section_end –> at the end of the single post.
This helps Google Adsense ad to target particular content area. I am not sure how to put these code in Child themes.
Please help how I can put AdSense section code in single post content area.
Install the Genesis Simple Hooks plugin and add the code to this code http://pastebin.com/sUbAPcv8
Paste it into the hook location using the plugin
Following should help:
I am not looking for inserting AdSense code. I want to insert this code just before content area starts <!– google_ad_section_start –> and this code just after single post content area ends <!– google_ad_section_end –> .
These lines say Google AdSense bot to focus on particular area of site so it can show ads related to content within these code.
For this you can use Genesis simple hooks plugin. As such, this code addition is optional and is not required specially when using WordPress as post content is wrapped in content tags – which Google adsense code can easily understand.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.