Shortcode
[escape_shortcode][not_in_eu]You are NOT from the European Union (accept HTML)
[/escape_shortcode]
This shortcode displays content only when the visitor is not from a country within the European Union (EU).
Parameters
- default – (accepts: text) – Text to display if the visitor is from the EU (optional)
- exclude – (accepts: comma-separated text) – Hides the content for specified locations (continent, country, region, or city)
- include – (accepts: comma-separated text) – Shows the content only for specified locations
- cache – (no value) – Enables AJAX-based caching. Automatically applied if the cache setting is enabled
Return
Displays the wrapped content only when the visitor is not from an EU member country. If the visitor is from the EU, the default
message will be shown (if defined).
Example
[not_in_eu default="You are from the European Union"]You are NOT from the European Union[/not_in_eu]
Returns:
You are NOT from the European Union