How To : Insert Adsense Code into Single Post in Thesis Themes

Ott
17

SocialBlogr is running on Thesis Theme now, it’s the best SEO friendly WordPress theme ever. But, Hybrid is also great for alternative if you don’t have extra budget. Ok, Thesis is a framework, so we couldn’t manage it like a ordinary WordPress themes. Thesis has so many hook inside of the framework, there are specific functions to control each section in the header, body and footer. To insert adsense code into Thesis themes we have to follow the Thesis’s rules.

All addition functions should be inserted into custom_functions.php. We need to insert the adsense code into thesis_hook_before_post and thesis_hook_after_post. Don’t worry, you don’t need to search for the hooks manually. Install the Thesis OpenHook plugins, use it to search and insert your adsense code.