---
title: Text links
description: "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](https://getaawp.com/docs/article/find-article-numbers/) ## How-to place text links ### Standard text link **Shortcode** ``` [amazon…"
url: "https://getaawp.com/docs/article/text-links/"
updated: "2016-04-11"
category: Functions
---

# Text links

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](https://getaawp.com/docs/article/find-article-numbers/)

## How-to place text links

### Standard text link

**Shortcode**

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

**Output**
e.g. [Western Digital 1TB Elements*](https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20)

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

### Custom link name

**Shortcode**

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

**Output**
e.g. [Western Digital 1TB*](https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20)

### Custom link title

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*](https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20) *(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**

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

**Output**
e.g. [Western Digital 1TB*](https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20) [https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20](https://www.amazon.com/dp/B00CRZ2PRM?tag=getaawp04-20)

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](https://getaawp.com/docs/article/shortcodes/) for the Amazon Affiliate WordPress plugin.
