How to Implement Section Targeting for a WordPress Blog

Using Section targeting, you can target an ad unit to a specific section of your blog. What this means is that say you are displaying ads on a particular post. The post is about say Colleges in America. However, in the side bar you have posts about Football, XBox etc. So, how does Google know what keywords to pick while generating targetted ads for your blog? Well… it doesn’t. Using section targeting helps you do this by blocking out irrelevant sections on your page.

The HTML tags to emphasize a page section take the following format:

<!– google_ad_section_start –>

<!– google_ad_section_end –>

Implement Section Targeting for a WordPress Blog

So you have a wordpress blog and are looking to implement section targeting.

Step # 1: Log into your Wordpress Admin.

Step # 2: Go to Presentation and then Theme Editor

Step # 3: Under Theme Editor, select the theme file for generating a single page on your blog. This is usually something like single.php  or singlepage.php

Step # 4: Look for the title of your blog post which goes something like this

<h2><a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”><?php the_title(); ?></a></h2>

Once you find this code, place <!– google_ad_section_start –> above the <h2> code

Step # 5: People posting comments on that blog post are highly relevant to the content of that particular blog post. So look for the comments section of your post which might look something like this

<div class=”comments-template”>
     <?php comments_template(); ?>
</div>

Place <!– google_ad_section_end –> after the </div>

If you liked this article, click here to buy me a coffee!

Popularity: 8% [?]

Share This | Trackback URL | Comments feed for this post


2 Responses to “How to Implement Section Targeting for a WordPress Blog”

  1. 1
    GurbMillini Says:

    Бле да тут через строку читать дабы суть понять

  2. 2
    SEO Consultant Says:

    Nice work dude… It is helpful for me as well as others..
    SEO Consultant

Leave a Reply