Amazon Affiliate Linker Wordpress Plugin

The Amazon Affiliate Linker Plugin allows easy linking to Amazon.com products by only using the ASIN (Amazon Standard Identification Number). It also allows you to embed your Amazon Associate link so that you can pick up affiliate commissions on your links.

Download Amazon Affiliate Linker Plugin

Once downloaded and activated, the plugin needs to be configured by going to Settings -> Amazon Affiliate Linker menu item. In this page you can set your Amazon Affiliate ID and whether you want the link to be no-followed or to onen in a new window.

Amazon Affiliate Linker Wordpress Plugin

To embed an Amazon link with the plugin, the text for the link needs to be embedded in the following tags:
Test ASIN Link
This will link to Amazon.com with a product ASIN of 12345678. At present, the asin tag needs to be lower case.

For example, if I wanted to link to ProBlogger: Secrets for Blogging Your Way to a Six-Figure Income, I would get the ASIN for it’s from Amazon.com URL:

Problogger Secrets Link

I would then embed the ASIN into into a post like this:
Problogger Secrets Plugin Link
Which would produce a link like this:

Secrets for Blogging Your Way to a Six-Figure Income

The attributes for the link are configured in the plugin administration and has my Amazon Affiliate ID embedded into it.

I have tested the link generation and there seem to be no problems with clicks being registered in the Amazon Associates stats report and I have tested the generated links in the Amazon Associate Link Checker.

Download Amazon Affiliate Linker Plugin

Posted in Plugins | 4 Comments

Wordpress Custom Menu Plugin

This is a very simple plugin that I wrote to manage navigation menus from the admin panel in WordPress instead of having to code the template each time a menu or a menu item was added, removed or changed.

Download Wordpress Custom Menu Plugin

Menu items are added in the Tools->Custom Menu section of WordPress Admin as displayed below:

Club Wordpress Custom Menu Admin

Menu items can be added, edited and deleted here. Use the Visible property to set whether an item is displayed.

To display the Custom Menu in a WordPress theme, add the following code to your template file where you want the menu to be displayed:

<?php custommenu_output(); ?>

For the menu items displayed in the image above, the following HTML will be output in the theme:

<ul>
    <li><a href=’/’ title=’Home’>Home</a></li>
    <li><a href=’/articles/’ title=’Articles’>Articles</a></li>
    <li><a href=’http://wordpress.org/’ title=’Wordpress’>Wordpress</a></li>
    <li><a href=’/sitemap/’ title=’Sitemap’>Sitemap</a></li>
    <li><a href=’/contact/’ title=’Contact’>Contact</a></li>
    <li><a href=’/about/’ title=’About’>About</a></li>
</ul>

The menu is output as an unordered HTML list.

Download Wordpress Custom Menu Plugin

All you need to do then is make sure the HTML is styled properly to display the menu correctly. I may do a tutorial on how to do this if there is enough interest, so check out my RSS Feed to keep updated :)

Please let me know what you think of the plugin and what improvements could be made to it.

Posted in Plugins | 6 Comments