Wednesday, May 1, 2013

How to Insert Adsense in the Header of a Thesis Theme



1. Enter your WordPress dashboard and find the plug-ins box in the left-hand tool bar. Click 'Add New.'

2. Type 'Thesis OpenHook' into the search field and submit your query. The top result should be the OpenHook plug-in. Install the plug-in following the on-screen cues.

3. Return to your WordPress Dashboard. Click the OpenHook plug-in settings link in the 'Appearances' box.

4. Click the 'Header' tab in the OpenHook plug-in and insert the following code where you would like your ad to appear:Adsense codeReplace 'Adsense code' with your own adsense code. Save your changes.

5. Change the '' line in the code to '' if you need to alter the alignment, spacing or margins of your code. Add these additional style elements to the 'custom.php' stylesheet in your Thesis theme, using the tag '#header_ad.'

No comments:

Post a Comment