1. AAWP
  2. Documentation
  3. Placing Products
  4. Text links
  1. AAWP
  2. Documentation
  3. Functions
  4. Text links

By using the shortcode attribute “link, you can easily place automated Amazon product text links.

What do I need?

Shortcode

[amazon link="ASIN" /]

Output
e.g. WD 1TB Elements Portable External Hard Drive - USB 3.0 - WDBUZG0010BBK-WESN*

Note: Please close the shortcode by placing “/” at the end. Otherwise it might lead into some issues.

Shortcode

[amazon link="ASIN" title="My product name" /]

Output
e.g. Western Digital 1TB*

Here you can set the HTML link title attribute:

Shortcode

[amazon link="ASIN" link_title="My SEO link title" /]

Output
e.g. Western Digital 1TB* (hover me)

Tip: Of course you can combine multiple shortcode adjustments such as “title” and “link_title”.

By default you define the icon appearing besides a link on the plugin settings page.

Additionally you can choose an icon on a shortcode basis as follows:

Shortcode

[amazon link="ASIN" link_icon="amazon" /]

Output
e.g. Western Digital 1TB*  

Available values are: none, amazon, amazon-logo, cart.


The shortcodes above can be extended by adding further "attributes". We prepared an overview of all shortcodes and adjustments for the Amazon Affiliate WordPress plugin.

Was this article helpful?

Related Articles