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.
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.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!