Title: CBC_AMAZON usage
Last modified: August 30, 2016

---

# CBC_AMAZON usage

 *  Resolved [Jason Resnick](https://wordpress.org/support/users/rezzz/)
 * (@rezzz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cbc_amazon-usage/)
 * So I want to display an Amazon link for a product that directs to the appropriate
   country.
 * I thought that by doing something like
    `[CBC_AMAZON asin="0470877014" country
   ="us,uk"]WordPress for Dummies in the US[/CBC_AMAZON]` would allow that to work.
   However it’s only showing the US link.
 * If I break that up into 2 separate shortcodes (one for US and one for UK) then
   I get both links displayed, which I don’t want.
 * Am I doing something wrong in the first shortcode, or am I supposed to wrap the[
   CBC] around it like:
 *     ```
       [CBC show="y" country="us"]
       [CBC_AMAZON asin="0470877014" country="us"]WordPress for Dummies in the US[/CBC_AMAZON]
       [/CBC]
       [CBC show="y" country="uk"]
       [CBC_AMAZON asin="0470877014" country="uk"]WordPress for Dummies in the US[/CBC_AMAZON]
       [/CBC]
       ```
   
 * [https://wordpress.org/plugins/custom-content-by-country/](https://wordpress.org/plugins/custom-content-by-country/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cbc_amazon-usage/#post-6878291)
 * If you want it to do so automatically, don’t specify the country
 *  Thread Starter [Jason Resnick](https://wordpress.org/support/users/rezzz/)
 * (@rezzz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cbc_amazon-usage/#post-6878294)
 * Ah bingo! – Thanks.
 * I saw that note under the CBC shortcode, but when I read the doc on the CBC_AMAZON
   shortcode, I thought I needed to country.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cbc_amazon-usage/#post-6878300)
 * No problem!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CBC_AMAZON usage’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-by-country.svg)
 * [Custom Content by Country (by Shield Security)](https://wordpress.org/plugins/custom-content-by-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-content-by-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-by-country/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-by-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-by-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-by-country/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/cbc_amazon-usage/#post-6878300)
 * Status: resolved