The Geolocation Continent feature will allow you to create targeted content within WordPress. This means our plugin will determine the visitors IP address and check if they are from a specific continent before rendering the content blocks.
You can add Geolocation rules to any WordPress Content Block using Conditional Blocks Pro.
Are you new to using WordPress Geolocation features? See our Guide & FAQ’s for setting up Geolocation for detailed steps.
Making a WordPress block appear for specific continent
Once you’ve finished the initial setup, then it’s time to add the Geolocation – Continent a WordPress block.
- Select a WordPress block on any WordPress page, post or Full Site Editing template.
- Click on the “Edit Visibility” button in the sidebar to open the Conditional Builder.
- You can now apply the “Geolocation – Continent” condition and configure a specific country from the list.
What Continents can use?
We use the two-character ISO 3166-1 code representing the continent associated with the location of the requester’s public IP address. Codes used to identify continents are as follows:
AF
for AfricaAN
for AntarcticaAS
for AsiaEU
for EuropeNA
for North AmericaOC
for OceaniaSA
for South America
What about caching?
Caching should be a consideration when you are creating changing website content for each visitor. We have a full write up with tips and considerations.
Read the Caching Guide for Conditional Blocks.
Use simulation for fast Geolocation testing
We’ve developed a Geolocation simulation feature to help you quickly test your targeted content within WordPress.
Please see our entire Guide on Geolocation Simulation.