Thesis Theme How To: Integrate SEO Booster Pro

by Lars Koudal on 08/09/2009

22 views so far.

Share

I have just bought a license for Thesis (aff) today, and I wanted to share with you how to implement the really cool PHP custom hooks from SEO Booster PRO to your Thesis theme.

One of the many benefits of Thesis is how easy it is to customize without ever touching the theme files.

If you want to add SEO Booster PROs custom PHP function to your Thesis Theme, it is really easy. Go to the custom-functions.php file, and add the following:

function add_to_byline() {
if(function_exists('seoboosterpro_boostlist')){
seoboosterpro_boostlist('<h2>','</h2>','',', ',2);
}
}
add_action('thesis_hook_byline_item', 'add_to_byline', '99');
function after_content() {
if(function_exists('seoboosterpro_boostlist')){
   		seoboosterpro_boostlist('<ul>','</ul>','<li><strong>','</strong></li>',10);
   	}
}
add_action('thesis_hook_after_post', 'after_content');

Adding that code allows you to dynamically display the most popular incoming searches from Google beneath your title-tag as well beneath your blog post as an unordered list.

Dynamic text in H2-tag

Dynamic text in H2-tag

Top 10 incoming search phrases in a list!

Sample list beneath content

{ 1 trackback }

Leave a Comment

PRIVACY POLICY: Your privacy is important to us. We will never sell or rent your email address and you can unsubscribe at any time.

Previous post:

Next post: