Mar 13 2009

Infolinks Ad Integration WordPress Plugin

The Infolinks Plugin for WordPress 2.9++.

Infolinks In-Text Advertising are the double underlined links you will see in this website. This plugin enables you to integrate infolinks In-Text Advertising in one click!

Features:

  • Control whether or not to integrate in-text advertising in comments.
  • Control whether or not to integrate in-text advertising in contents/post of your website.
  • Add any customization provided by the infolinks website during integration.
  • Individual post control for turning Ads ON/OFF in a particular post.
  • Most importantly, the plugin is very small and only executes 2 calls to integrate it to wordpress thus making it very FAST!! Unlike other plugins which clutters with too many options and eventually contributes to the slow down of WordPress.

screenshot-1.jpg


DOWNLOAD Infolinks Ad Wrap @Wordpress.


Changelog:

  • 1.0.2
    • Fixed – Escaping quotes with backslash
  • 1.0.1
    • XHTML validation updated


Example Usage:

In order to change various colors and customize the Ads, you can put the following lines in the text/code section of the plugin as shown in the above screenshot.


<script type="text/javascript">

 var infolink_pid = 16915;

 var infolink_link_color = '009900';

 var infolink_title_color = '252667';

 var infolink_ad_link_color = '24951E';

</script>

<script src="http://resources.infolinks.com/js/infolinks_main.js" 

        type="text/javascript"></script>


To Use more advance features please look below for details.


Look & Feel Parameters

The following parameters enable you to control the color scheme of the Infolinks in-text ads on each page of your website, as well as the content in their resulting ad bubbles. Colors are represented by RGB Hex codes. For example, to represent the color Red you would use ‘FF0000′, making sure the value is surrounded by apostrophes.

Visit Wikipedia for more information on mapping colors to their equivalent RGB Hex codes.

Infolinks Link Color: infolink_link_color

The infolink_link_color var defines the color of the text and double underline hyperlinks for all keywords or phrases that have been converted into Infolinks in-text Links on a web page. The default value is set to: infolink_link_color = ’009900′;

Infolinks Ad Title Color: infolink_title_color

The infolink_ad_title_color var defines the color of the title in the Infolinks in-text ad bubble. The default value is set to: infolink_title_color = ’252667′;

Infolinks Ad Text Color: infolink_text_color

The infolink_ad_text_color var defines the color of the main text in the Infolinks in-text ad bubble. The default value is set to: infolink_text_color = ’000000′.

Infolinks Ad Link Color: infolink_ad_color

The infolink_ad_link_color var defines the color of the advertiser’s URL that appears in the Infolinks in-text ad bubble. The default value is set to: infolink_ad_text_color = ’24951E’;


Behavior Parameters

The following parameters enable Publishers to customize the behavior of the Infolinks in-text ads on each page of their website, including their content and display setting

Number of Infolinks Ads per Page: infolink_anow

The infolink_anow var defines the maximum number of words or phrases that may be converted into Infolinks in-text ads on a single page of a publisher website. The more text in the page the more in-text ads you can mark. For example, to limit the number of Infolinks ads to 5, the value is set to Infolink_anow = 5;

Publisher Content Category: infolink_cat

The infolink_cat var enables the publisher to specify a category that best describes the content of their website. While this parameter is optional, specifying the proper content category can significantly improve the relevancy of the Infolinks in-text ads on the webpage.

For example, to set your category to sports use: infolink_cat = ‘Sports’

Possible content categories include:

Arts
Automotive
Business
Computers
Games
Health
Home
Kids & Teens
News
Recreation
Reference
Science
Shopping
Society
Sports

Double or Single Underline Hyperlinks for Infolinks Ads: infolinks_double_underline

The infolinks_double_underline var defines whether to use single or double underline hyperlinks for all keywords or phrases that have been converted into Infolinks in-text ads on a web page. Setting the parameter to “true” will cause double underline hyperlinks. Setting the parameter to “false” will cause single underline hyperlinks. The default value is set to: infolinks_double_underline = true;

Infolinks Ads Placement Control: <!–INFOLINKS_ON–> and <!–INFOLINKS_OFF–>

The <!—INFOLINKS_ON—> and <!—INFOLINKS_OFF—> placement tags enable the publisher to control which     areas of     the web page will display Infolinks in-text ads and which areas will not. Inserting an “On” comment tells the Infolinks algorithm to search that section of HTML normally for ad phrases. Inserting an “Off” comment tells the Infolinks algorithm to skip forward through the HTML to the next “On” comment or to the end of the code – whichever comes first.


Please feel free to comment or suggest ideas!


Related posts:



40 Responses to “Infolinks Ad Integration WordPress Plugin”

Leave a Reply