WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content by Country (by iControlWP)
[resolved] [Plugin: Custom Content by Country, from Worpit] display something to all other countries (4 posts)

  1. fcandillo
    Member
    Posted 1 year ago #

    I have phone numbers that I want to show to certain countries.

    Then i want to show a general phone number if it is in any other country.
    how would i display that?
    [CBC country="US" show="y"]us phone[/CBC]
    [CBC country="CA" show="y"]canada phne[/CBC]
    [CBC country="GB" show="y"]great britian phone[/CBC]
    ?if someone is viewing from another country?

    i only want to show 1 phone number.

    http://wordpress.org/extend/plugins/custom-content-by-country/

  2. fcandillo
    Member
    Posted 1 year ago #

    ok, i think i may have figure this out...
    however, currently... i don't know how to test for the other countries.
    and i am in austria ;)
    basically, this is what i believe is the correct shortcode.

    [CBC country="US" show="y"]us number[/CBC]
    [CBC country="CA" show="y"]canada number[/CBC]
    [CBC country="GB" show="y"]great britian number[/CBC]
    [CBC country="US, CA, GB" show="no"]any other country #[/CBC]

    look correct?

  3. fcandillo
    Member
    Posted 1 year ago #

    ok. small blip in the shortcode... not "no" just "n"
    [CBC country="US, CA, GB" show="n"]any other country #[/CBC]

    found the following site that might be useful for those testing the plugin, and knowing there content is showing up in the right country:
    http://www.proxy4free.com/

    tried the site in three different themes and works great.
    nice work!

  4. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Sorry to see you had problems, but glad you got it sorted eventually. Perhaps I'll put in a case for "yes" and "no" as well to make sure this doesn't happen again.

    Glad you're liking the plugin and it works for you! :)

    If you have 2 seconds, would you mind giving it a rating on WordPress.org to help lend the plugin some credibility?

    Thanks! :)
    Paul.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.