Dear All, I want to have an adsense text box aligned to the blog content just below the title of the post and secondly right aligned just in the middle of the post. How to achieve this Goal? Thanks,
There are many plugins available but here are 2 best of them. 1. adsense integrator 2. post layout Install these plugins and place ad after the title, between post, after the post etc.
which the best plugin amoung them, I am using thesis theme is there any tutorial just to align text around adsense box, align left aligh right etc
Simply use custom functions. Add the following to your thesis custom function file. //start copy here function single_post_ads() { if (is_single()) { ?> <div class="your custom css style to align left/right"><br /><script type="text/javascript"><!-- google_ad_client = "xxxxxxxxxxxxxxxxx"; google_ad_slot = "xxxxxxxxxxx"; google_ad_width = xx; google_ad_height = xx; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> <?php } } add_action('thesis_hook_before_post', 'single_post_ads'); //add_action('thesis_hook_after_post', 'single_post_ads') - use similar another function to change any options; //stop copy here PHP: You must enable custom css & custom function to use this feature.
this code is not aligning the ads . It gives straight ads. I need a code that align adson left or right side