Start a project

WordPress Country Selector Shortcodes

Country Selector Page Shortcode

To place the country selector page, where the user can select a country he would like to visit, just create a new page and insert the following shortcode.

[wordpress_country_selector]

You can modify the layout of this page in plugin settings.

Country Selector Menu

To use the dropdown menu as shown on our demo in the top Navigation you can use this shortcode:

[country_selector style="dropdown" text="%s - Switch Country"]

To show a simple link to your country selector page use this:

[country_selector style="link" text="%s - Switch Country"]

The %s will be replaced with the current country page name. You can also remove it.

Country Selector Widget

We also provide a Country Selector Dropdown Widget, which you can find in at Appearance > Widgets.

Questions & answers (7)

  1. GiuseppeAugust 9, 2024

    Hello, if I write.
    [country_selector style=”dropdown” text=”%s – Switch Country”]
    or
    this:
    [country_selector style=”link” text=”%s – Switch Country”]

    text=”%s doesn’t work.

    I want the language of the site to be displayed

  2. DanielAugust 9, 2024

    Please submit a ticket on our website or send your request including your valid codecanyon purchase code to [email protected]

  3. MigzMarch 10, 2024

    Hi
    The language selector doesn’t work. When hover one of the languages it gives me sort of a double link. See this as an example: https://mydomain.eu/fr/https://mydomain.eu/es/p/football-gloves/

    What could cause this problem?

  4. JuanApril 8, 2020

    How can i erase AMERICAS? and center the countries?

    Excellent plugin! Thanks in advance for both responses

  5. WeLaunchApril 9, 2020

    Simply turn off continents in our plugin settings.

  6. MeenaMarch 1, 2020

    We can able to print the whole page/custom post type as pdf. And can we get any trial before buying this wordpress plugin

  7. WeLaunchMarch 1, 2020

    Yes that is possible. We got no trial version.