COUNTRY-BASED CONTENT CONTROL FOR WORDPRESS

One WordPress page.
Different content for different countries.

Show different content to visitors based on their detected country — while keeping your content on the same WordPress page.

Interactive Visitor Simulation: Select visitor's detected country:
https://yoursite.com/pro-gear-kit/
Cache-Friendly
Acme Studio Gear
Studio Broadcast Master Lens Pro

Cinema Prime 35mm T1.5

Full-frame optical precision with dual linear focus rings and ultra-low dispersion glass.

class: gcc-show-us Visible for US
Independence Week Special: $899 USD

Includes US shipping and domestic service options.

class: gcc-show-gb Visible for UK
UK Next-Day Dispatch: £749 (VAT Included)

Show a UK-specific shipping and pricing message for visitors detected in the United Kingdom.

class: gcc-show-ca Visible for Canada
Canadian Regional Fulfillment: $1,199 CAD

Show a Canada-specific fulfillment and pricing message for visitors detected in Canada.

class: gcc-hide-us-gb-ca Global Rest-of-World
International Orders: $899 USD

Show international shipping information and applicable duties or taxes at checkout.

Same URL, same WordPress page ID. No page duplication.
THE MAINTENANCE BURDEN

Your website doesn't have to treat every visitor the same.

A visitor from the US may need a different offer than someone from the UK.

A product may only be available in certain countries.

A promotion may only apply to one market.

A phone number, price, disclaimer, or call-to-action may need to change by region.

But creating separate pages for every country can make regional content harder to maintain.

One page shouldn't require five versions just because five things are different.

Without Geo Content Control

The duplicate page nightmare

Creating five country pages to change a single headline or pricing block:

📄 yoursite.com/pricing/ Global version
📄 yoursite.com/us/pricing/ Duplicated layout
📄 yoursite.com/uk/pricing/ Duplicated layout
📄 yoursite.com/ca/pricing/ Duplicated layout
📄 yoursite.com/au/pricing/ Duplicated layout
✕ Any design or copy tweak may need to be repeated across multiple regional URLs.
✕ Country-specific redirects can add another layer of caching, routing, and URL complexity.
✕ Regional pages can become out of sync when one version is updated and another is missed.
With Geo Content Control

One single WordPress page

One page to edit, design, and update. Country rules applied at the block level:

📄 yoursite.com/pricing/ Single Source of Truth
Hero Header (Common to all visitors)
🇺🇸 US gcc-show-us
🇬🇧 UK gcc-show-gb
🇨🇦 CA gcc-show-ca
Shared Feature Grid & Testimonials
✓ Keep one primary page URL instead of maintaining separate regional page URLs.
✓ Keep regional variations together and edit your layout in your existing WordPress workflow.
✓ The same page can work with page caching and CDN delivery while country-specific visibility is handled in the browser.
THE ARCHITECTURE

One page to maintain.
Multiple experiences to deliver.

You don't need a US page, a UK page, and a Canada page just because three pieces of content are different.

Build the page once. Target the parts that need to change.

Single Source of Truth
ONE WORDPRESS PAGE
Maintained in one WordPress page • Served through your existing setup • Country targeting applied in the browser
🇺🇸
United States
US offer & domestic shipping
🇬🇧
United Kingdom
UK pricing & VAT included
🇨🇦
Canada
Toronto warehouse dispatch
Result: Same WordPress Page URL & Layout
THE SYNTAX

Control the content. Keep the page.

Geo Content Control lets you show or hide individual pieces of WordPress content based on the visitor's detected country.

Show Specific Country
gcc-show-us
Only visible to visitors detected in the US.

Visitors detected as being in the United States see this element. Visitors detected in other countries do not.

Hide Specific Country
gcc-hide-us
Hidden from visitors detected in the US.

Visitors detected in the United States do not see the element. Visitors detected elsewhere can see it.

Multiple Country Targeting
gcc-show-us-ca-gb
Visible to visitors detected in the US, Canada, or UK.

Chain two-letter country codes together with hyphens. The element appears when the detected country matches any listed country.

WORKFLOW

Three basic steps.

01

Build your page normally

Use WordPress, Gutenberg, Elementor, Beaver Builder, Divi, WPBakery, or plain HTML.

No dedicated editor widget is required for CSS-class targeting.
02

Add a country class

Add gcc-show-us or gcc-hide-gb to the content you want to control.

Use the standard CSS class field available in your editor or builder.
03

Publish

Geo Content Control detects the visitor's country and shows or hides the targeted content in their browser.

The country-specific visibility decision is made in the visitor's browser after the page is delivered.
APPLICATIONS

Built for the parts of your website that change by region.

Pricing & Offers

Show the offer that makes sense locally.

Display different pricing blocks, currencies, promotions, or regional offers without maintaining separate pages.

gcc-show-gb £149 with UK VAT • gcc-show-us $189 USD
Compliance & Disclosures

Show region-specific information when it matters.

Display appropriate notices, disclaimers, promotions, or product information for different countries. Always verify that regional content meets the requirements applicable to your business.

ℹ️ Regional disclosures targeted based on the visitor's detected country.
SaaS & Services

Put the right contact, team, or offer in front of the visitor.

Show regional phone numbers, support contacts, office information, or calls to action.

Display US contact details for US visitors and UK contact details for UK visitors
Marketing

Run country-specific campaigns without another landing page.

Target promotions, seasonal campaigns, giveaways, testimonials, and other marketing content.

Deliver 4th of July banners to US, Boxing Day to CA & UK
Events & Locations

Show the information closest to the visitor.

Display regional events, locations, registration links, or franchise content.

Show regional workshop schedules based on the visitor's detected country
PERFORMANCE ARCHITECTURE

Your site can stay cached. Your content can still be country-specific.

Geo Content Control does not need to generate a different WordPress page for each country.

The page can remain the same cacheable page for visitors. A browser-side process determines the visitor's country and then shows or hides the targeted content for that visitor.

Designed to work alongside common WordPress caching and CDN setups.
ORIGIN
⚡
WordPress Page
Generated by WordPress when the page is requested or regenerated
EDGE & HOSTING CACHE
🛡️
Cache / CDN
The same page HTML can be cached and served through your hosting or CDN
🇺🇸 US Visitor's Browser
Evaluates gcc-show-us
Reveals US Content
🇬🇧 UK Visitor's Browser
Evaluates gcc-show-gb
Reveals UK Content
NO FRICTION

No separate page-building workflow. No special blocks required.

Geo Content Control uses the CSS class fields available in WordPress and supported page builders.

Gutenberg
Block Editor
Elementor
Page Builder
Beaver Builder
Page Builder
Divi
Theme & Builder
WPBakery
Page Builder

If your editor lets you add a CSS class, the basic targeting workflow is straightforward.

FIELD LOCATIONS

If you can add a CSS class, you can use it.

No separate page-building system is required for CSS-class targeting.

Elementor Editor → Advanced Tab → CSS Classes
Target this section or widget only to visitors detected in the United States.
INLINE CONTENT

Prefer working directly with content? Use shortcodes.

For classic editor posts, text widgets, or inline paragraph snippets, Geo Content Control provides clean, expressive shortcodes.

Targeted Display
[gcc_show country="US"]
Your US-only content
[/gcc_show]
Conditional If / Else
[gcc_if country="US"]
US visitors see this.
[gcc_else]
Everyone else sees this.
[/gcc_if]
FRICTIONLESS EDITING

Your editors see everything. Your visitors don't.

When you're logged into WordPress with the appropriate editing permissions, Geo Content Control can keep targeted content visible while you work on the page.

That means you can edit the page normally without wondering where half your content disappeared.

💡

To experience the page as a visitor from another country, view it while logged out or in a private browser window.

W Driftbyte Edit Page
Editor Mode: Showing All Content
🇺🇸 US Offer Block [gcc-show-us]
Special 4th of July Bundle: $89 (Editable in Gutenberg)
🇬🇧 UK Offer Block [gcc-show-gb]
UK Express Shipping: £69 (Editable in Gutenberg)
🌐 Global Fallback [gcc-hide-us-gb]
International Orders Dispatch (Editable in Gutenberg)
HONEST PRODUCT SCOPE

Built for content targeting — not access control.

What it is for

Presentation & Personalization

Geo Content Control controls what appears on the page. It is designed for:

  • ✓ Regional marketing campaigns & promotions
  • ✓ Country-specific pricing displays & currencies
  • ✓ Local contact numbers, office hours, and support channels
  • ✓ Product availability notices & regional purchase buttons
  • ✓ Contextual regional disclosures & informational notices
What it is not for

Security & Gated Data

Targeted content remains part of the page's HTML and should not be used to protect:

  • ✕ Sensitive business information or trade secrets
  • ✕ Paid subscription or paywalled content
  • ✕ Confidential customer documents or downloads
  • ✕ Secure resources or private authenticated records
SIMPLE SUBSCRIPTION

Everything you need to control WordPress content by country.

WordPress Plugin

Geo Content Control

$3.25 / month

Country-based visibility controls for supported WordPress content and page builder elements.

What's included
  • ✓ Country-based content targeting
  • ✓ gcc-show-* classes
  • ✓ gcc-hide-* classes
  • ✓ Multiple-country targeting
  • ✓ Shortcodes
  • ✓ Gutenberg support
  • ✓ Elementor support
  • ✓ Beaver Builder support
  • ✓ Divi support
  • ✓ WPBakery support
  • ✓ Browser-based country detection and content visibility
  • ✓ Cache-friendly architecture
  • ✓ Editor-friendly behavior
  • ✓ Configurable geolocation provider
  • ✓ Configurable detection behavior
QUESTIONS & ANSWERS

Frequently Asked Questions

Read the full documentation
Does Geo Content Control create separate pages?

No. You maintain one page and target individual pieces of content based on the detected country.

Does it work with page builders?

Yes, for the supported builders. It uses the CSS class fields provided by Gutenberg, Elementor, Beaver Builder, Divi, and WPBakery.

Do I need an API key?

Not with the default ipapi.co provider. An API key is only required when switching to ipinfo.io, subject to the provider's current requirements.

Will it work with cached pages?

The plugin performs the country-based visibility decision in the visitor's browser, allowing the same page HTML to be cached and delivered to different visitors. Actual caching behavior can still vary depending on the hosting and optimization configuration.

Can I target multiple countries?

Yes. You can target multiple countries by combining their two-letter country codes in the supported class syntax.

Can I use it to protect paid or private content?

No. Geo Content Control is for content targeting and presentation, not access control. Targeted content can remain present in the page source.

How do I test another country?

Use a logged-out or private browser session and, when needed, a VPN or another method that provides a different detected country. Country detection depends on the configured geolocation provider and the visitor's network.

What happens if the visitor's country cannot be determined?

The plugin provides a setting that controls whether targeted content should be shown or hidden when country detection fails.

One page. Different content for different countries.

Stop maintaining country-specific versions of the same page just because a few sections need to change.

Install it. Add a country class. Publish.