How to add adsense code below post title in wordpress twenty twelve theme
Adding adsense below post title is a popular choice for bloggers. But if you love using twenty twelve theme yet want to add ads below post title you will be left to wonder where to find title code. In the single.php page, it just calls content.php function that has all the post codes.
If you prefer adding it manually instead of a plugin, this post just demonstrate that. So lets get started.
Go to the theme editor, from the theme editor find content.php as shown in the image below,
Note I have added is_single(), it’s because I want the ads to appear only on a single post page, and not on all the articles on homepage.