By using the shortcode attribute “link“, you can easily place automated Amazon product text links.
What do I need?
- ASIN or ISBN (books), see How-To: Find out article numbers
How-to place text links
Standard text link
Shortcode
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.
Custom link name
Shortcode
Output
e.g. Western Digital 1TB*
Custom link title
Here you can set the HTML link title attribute:
Shortcode
Output
e.g. Western Digital 1TB* (hover me)
Tip: Of course you can combine multiple shortcode adjustments such as “title” and “link_title”.
Selecting a link icon
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
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.