• Resolved mburke79

    (@mburke79)


    Hi,

    I’m wondering if there is away to show a set of content to “everyone else”

    I have a bunch of [CBC]…[/CBC] rules set up for various countries. Is there a way to show content to users that are not one of set countries?

    For example…I have the following code to show one link to US users and a different link to France visitors:

    
    [CBC show="y" country="us"][vc_single_image image="693" img_size="120x48" alignment="right" onclick="custom_link" img_link_target="_blank" link="https://www.amazon.com/s/ref=nb_sb_noss_2/142-5636630-2107119?url=search-alias=aps&field-keywords=mystic+secret+happiness" el_class="amazon-button"][/CBC]
    
    [CBC show="y" country="fr"][vc_single_image image="693" img_size="120x48" alignment="right" onclick="custom_link" img_link_target="_blank" link="https://www.amazon.fr/s/ref=nb_sb_ss_c_2_22/260-9185936-9941355?__mk_fr_FR=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Denglish-books&field-keywords=mystic+and+the+secret+of+happiness&sprefix=mystic+and+the+secret+%2Caps%2C2241&crid=I6T1X8AM7IXE" el_class="amazon-button"][/CBC]

    Is there a way that I can show some content to users who arent in either US or France? Currently, they see nothing (blank).

    Thanks – this plugin works great so far!
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mburke79

    (@mburke79)

    Ahhh,

    I figured it out. I used the ‘show=”n”‘ function to dictate default content. Works perfectly now.

    Thanks
    Mike

    I think I’m looking for a similar solution, ie.:

    [CBC show="n"]Default[/CBC]
    [CBC show="y" country="dk"]Danish content[/CBC]
    [CBC show="y" country="de"]German content[/CBC]

    However, the Default content still appears when testing from a DK or DE IP. The result is redundant content. Is this the same problem that you faced and could you be a bit more specific in describing how you solved it using show="n"?

    EDIT: I figured out the answer.

    The first line should included the countries in question:
    [CBC show="n" country="dk, de"]Default[/CBC]

    • This reply was modified 7 years, 5 months ago by Frs10.
    • This reply was modified 7 years, 5 months ago by Frs10.
    Thread Starter mburke79

    (@mburke79)

    You got it! Well done.

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