Steps to Add Ads Below Blog Post

Steps to Place Ads below Post Titles in
Blogger:

Go to Blogger >> Template.
Note: Take Backup your blog template
before doing any changes
Click on Edit HTML button.
Copy all the template code and paste it to
notepad file

Press Ctrl+F and search for
<data:post.body/>
Now paste below code just above
it.
<b:if
cond='data:blog.pageType ==
&quot;item&quot;'>
PLACE YOUR AD CODE HERE
</b:if>

Replace PLACE YOUR AD CODE HERE with
your parsed ad code.
Click on save template button.
You are done!
Steps to Display Adsense below post title on WordPress
Login into your WordPress localhost
Under Appearance, Click Editor.
Click Single post (Single.php) link in Right
side of the WordPress. (Take backup of your single.php code in a notepad.
Search for php the_title(); or
<!–.headline_area–> in single.php. (Press Ctrl +F button then paste php the_title(); so you can easily find the code line). This is the code to display your post title.
At the end of your php the_title(); Code past your ads code.
Note: This code will differ if you are using
different theme. But if you paste your code next to php the_title(); then you can display your ads below to post title. By this method not only Google AdSense, you can display any other advertisement and affiliates also in your WordPress blog.

Comments

Archive

Contact Form

Send