How To Turn Off Infolinks On Specific Post Or Page
How To Turn Off Infolinks On Specific Post Or Page |
Many bloggers are asking about this specially those who are using intext ads to earn revenue from their blogs, how to make the intext ads like Infolinks to show on the blog posts only?.
Making the intext ads show only in the contents of your blog posts will increase the click rate of your ads and your revenue too because your visitors will think that the links are part of the blog post.
If you are yet to start using Infolinks, Create your Infolinks account, login to your account to add the in text ads code, go to Integration Guide and then Advanced Integration Wizard. Here you can choose the color of the links, underline, number of the maximum in text ads to be served on your blog. Copy and paste the code in your template or Sidebar Gadget. You can also use the Infolinks-to-blogger wizard from Resources in the Integration Guide, to let Infolinks add the code for you automatically
Placement Targeting
Placement Targeting gives you the option to show Infolinks in-text ads only on some selected section of your blog. For this tutorial, I choose to display ads only in post body and comment section. This can be done by adding the Infolinks ON/OFF template tags.
For WordPress Blogs
Disabling Infolinks on Header: Open your theme’s header.php in an editor and look for the opening body tag.
Search for <body>
Paste the infolinks OFF tag just below it.
<!–INFOLINKS_OFF–>
Enabling Infolinks on Post and Page Content: Open your index.php, single.php, page.php, archive.php and look for the code.
<?php get_header?>
Paste the Infolinks ON tag just below it.
<!–INFOLINKS_ON–>
Disabling Infolinks on Footer and Sidebar: Open index.php, single.php, page.php, archive.php and look for the codes on each file.
<?php get_sidebar?>
<?php get_footer?>
Paste the Infolinks OFF tag just above them.
<!–INFOLINKS_OFF–>
Save changes. You’re done.
For Blogger Blogs
Disabling Infolinks on Header: Go to blogger Edit HTML from Design tab. Look for the opening body tag
Search for <body>
Paste the Infolinks OFF tag (see below) just below it.
<!–INFOLINKS_OFF–>
Enabling Infolinks on Post and Page Content: Look for the code
<div class=’post-header-line-1′/>
Paste the Infolinks ON tag just below it.
<!–INFOLINKS_ON–>
here's a another very simple trick to do that:
1. Login to your blogger account.on blogger dashboard
2. Go to your blog template and download a backup to be save your templete In your comuter drive
3. Now, click on edit html > proceed
4. Check expand widget templates
5. Press CTR+F in you keyboard and find <body>
6. Just below it Paste this code:
<b:if cond='data:blog.pageType == "item"'>
place your Infolinks code here
</b:if>
Example
<b:if cond='data:blog.pageType == "item"'>
<script type="text/javascript"><br /> var infolinks_pid = 1018683;<br /> var infolinks_wsid = 0;<br /></script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script><blockquote><span style="font-style:italic;"><span style="font-weight:bold;"></span></span></blockquote>
Save Template. You’re done And enjoy to increase more earning
If you find this article useful, please feel free to link to this page from your website or blog.
2 comments:
Hi, this is Pamela from Infolinks. Thanks for sharing this great information with your readers! You're right, this is a question that gets asked a lot. And it's a good idea to keep ads off About pages, etc. Keep up the good work :)
@Pamela thanks for comments and read on my blog