Usage: Embed the Shortcode into a Page

[vc_row el_id=”usage” personalization_rules=”%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-21%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-21%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D”][vc_column width=”2/3″][vc_column_text]

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.[/vc_column_text][/vc_column][vc_column width=”1/3″][vc_single_image image=”487″][/vc_column][/vc_row][vc_row][vc_column][vc_separator css=”.vc_custom_1503299847900{margin-top: 30px !important;margin-bottom: 30px !important;}”][/vc_column][/vc_row][vc_row personalization_rules=”%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-21%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-21%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D”][vc_column width=”2/3″][vc_column_text]

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 simpel 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.[/vc_column_text][/vc_column][vc_column width=”1/3″][vc_single_image image=”614″][/vc_column][/vc_row][vc_row][vc_column][vc_separator css=”.vc_custom_1503299847900{margin-top: 30px !important;margin-bottom: 30px !important;}”][/vc_column][/vc_row][vc_row personalization_rules=”%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-21%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-21%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D”][vc_column width=”2/3″][vc_column_text]

Country Selector Widget

We also provide a Country Selector Dropdown Widget, which you can find in at Appearance > Widgets.[/vc_column_text][/vc_column][vc_column width=”1/3″][vc_single_image image=”613″][/vc_column][/vc_row]

2 thoughts on “Usage: Embed the Shortcode into a Page

Leave a Reply

Your email address will not be published. Required fields are marked *