Sanjeev Sabhlok's notes on technology, hardware, gardening

How to insert stuff in the Whitehouse theme

http://www.pagelines.com/wiki/How_to_Use_the_Custom_Code_Settings

 

a) For inserting stuff in blog posts use the plugin described elsewhere. Whitehouse theme is super complex. They've broken up simple.php into 1000s of subfiles. Just use a plugin.

 

<!– AddThis Button BEGIN –>

<div class="addthis_toolbox addthis_default_style ">

<a class="addthis_button_preferred_1"></a>

<a class="addthis_button_preferred_2"></a>

<a class="addthis_button_preferred_3"></a>

<a class="addthis_button_preferred_4"></a>

<a class="addthis_button_compact"></a>

<a class="addthis_counter addthis_bubble_style"></a>

</div>

<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f803bb646e5d635"></script>

<!– AddThis Button END –>

 

<!– MGID News Widget Start –>

etcv

 

Then look at the right side and click on Single.php

 

Under the Single.php file, look for the following tag

 

<h2><?php the_title(); ?></h2>

If you find fail to locate the tag, you can use the CTRL+F function depending on which browser you use. It will help you to locate the tag easily

 

The paste you adsense code below or after that tag (the tag above). That’s it. Your adsense adsense will begin to show below your WordPress post title.

Print Friendly

sabhlok

View more posts from this author

Leave a Reply

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