How to add Google Adsense Ad unit in the navigation menu of Thesis theme

Google Adsense is one of the Best ad network for publishers.By putting Google Ad sense ad unit in the Navigation menu of your theme will definitely increase your visitor click ratio.Most of the Blogger’s applying this tactics to make more money from their blog.Today we will add Google Ad sense ad unit in the thesis Navigation Menu.

Google  Adsense

If you are using Thesis you may be already know about Thesis Open Hook Plugin.One of the useful and must have plugin for Thesis WordPress theme.If you not using Thesis Open Hook plugin you can download and install it from here and go through the step by step process.

Step 1 : Go to  Thesis Open Hook plugin

 

Step 2 : Select  Hook – After header (thesis_hook_after_header).

If your Primary Navigation Menu is already under Header  you can use Hook – Before header (thesis_hook_before_header)

Step 3 : Copy below code in the  Plugin Hook Interface

[php]<br />&lt;div id="navig_link_ad"&gt;<br />Adsense Code<br />&lt;/div&gt;<br />[/php]

Step 4 : Now remove the  Adsense Code with Your Google Adsense unit code and click tick mark on Enable PHP option and click save.

Step 5 : Now go to your  custom file editor in thesis options and select Custom.CSS and  Copy paste below code to style your Adsense activated navigation menu.

[php]<br />.custom #navig_link_ad {padding: 5px; width: 100%; background: #3D3D3D; height: 15px; text-align: left; float: left; }<br />[/php]

You are placed a Google Adsense ad unit after header of thesis theme.You can Change the Background color to suite your theme design also text-alignment and floating direction also customizable.

May I know if you have any difficulties in adding Google Ad sense Ad unit in thesis Navigation menu.

 

Get Thesis Theme from Diythemes for your new Blog/Website.

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.