Home » Case studies

How to integrate Infolinks code into wordpress blog?

Published by Chetan on January 8, 2009 – 5:32 am21 Comments

infolinks logoThere are some people who asked about this, including a comment in the infolinks affiliate program post earlier, asking how to install their ads in their wordpress blogs, although the procedure is the easiest.

Here is how you can install it to your wordpress blog -

Go to this implementation guide page in your account.

You would get 2 different types of codes in that page -
1. A standard code with default format and color of the link.
2. Editable code, where you can set the color of the link, color of the title and the infolinks box.

This is the standard code -
<script type=”text/javascript”>var infolink_pid = XXXX;</script>
<script type=”text/javascript” src=”http://resources.infolinks.com/js/infolinks_main.js”></script>
XXXX is your account number.

Here is the other code -
<script type=”text/javascript”>
var infolink_pid = XXXX;
var infolink_link_color = ‘009900′;
var infolink_title_color = ‘252667′;
var infolink_text_color = ‘000000′;
var infolink_ad_link_color = ‘24951E’;
var infolink_ad_effect_type = 0;
</script>
<script type=”text/javascript” src=”http://resources.infolinks.com/js/infolinks_main.js”></script>

You can use one of these codes, and now here is the place where you have to place your code -
Wp-admin > Themes > Theme Editor > Footer.php

In the footer.php file, you will see a tag < / BODY > Just above this tag, you have to paste the code. And you are done.

You will see the ads running in your blog after a few minutes.
This step was for showing ads all over the blog, and no restrictions for any specific places within the blog pages.
These 2 codes can be used anywhere within the blog design pages, where you want to specifically restrict the ads, and don’t want to have these spread all over the blog layout -

Enable parsing from this point: <!–INFOLINKS_ON–>
Disable parsing from this point: <!–INFOLINKS_OFF–>

Hope the tutorial is understandable and easy to implement. You can join Infolinks to make good money with in-content links with you doing nothing much.

We will send you some more information related to How to integrate Infolinks code into wordpress blog?. Enter your email address : Bookmark and Share

21 Comments »

Leave a comment!

Be nice. Keep it clean. Stay on topic. No spam.

Comment moderation is enabled. Your comment may take some time to appear.