• 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/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CBC_AMAZON usage’ is closed to new replies.