Category Country Aware WordPress

Category Country Aware WordPress

Make both your post content and sidebar category and/or visitor location relevant.

  • Almost active
    This plugin was not updated the last 1570 days ago.
  • This plugin is not tested with the last major release of WordPress
    Content for list item
  • There is no information available which PHP version this plugin requires
    The latest stable PHP 8.4.10 was released on 03 July 2025
  • No information about vulnerabilities and unfixed security issues is available.
    Content for list item

Ratings

3

Active installs

200

Total Downloads

8K

Support Threads

0

Last updated

24 March 2021

Added

18 November 2014

Versions

100%
  • Version 1.2

Screenshots

<p>Same 3 sidebar widgets i. on "Crime Fiction" category post (US visitor); and ii. on "Travel Guides post" (British visitor)</p>
<p>Ad in Post for category Junior fiction (smart responsive option set so ad only displays on small devices)</p>
<p>Override theme's widget styles (border, padding etc) without writing any HTML or CSS</p>
<p>Adding default content for widget:</p>
<p>Same widget, show RSS news feed for category "Travel" when visitor is from USA</p>
<p>Set up of "Ads in Posts" for category Junior Fiction:</p>

About Category Country Aware WordPress

FAQ

Support questions should be posted on WordPress.Org
Additional documentation is provided at http://wptest.means.us.com/category-country-aware-wordpress/

The most specific entry found is used. For less specific entries, categories have higher priority than visitor location.
So for a Fench visitor viewing a Books post: content defined for “visitor anywhere”|Category “Books” would win over content defined for “France”|Category “Any”.

Short answer:yes [via the CCA goodies extension] (http://wptest.means.us.com/cca-goodies-extension/ ) where you positively opt to allow PHP.

Long answer: any plugin enabling input of arbitrary PHP has increased security risks, however I am aware there is high demand for this feature.
To protect normal non-PHP users, you will have to positively opt to enable PHP. For security opt-in is set by a separate plugin to the widget that executes it.

Short answer:

  Yes for Cloudflare with their standard caching option

  “Perfectly” for Comet Cache and WP Supercache when using the country caching plugin extension for WPSC, or
for Comet/ZC/QC. See CCA documentation.

  W3 Total Cache: DIY solutions (less than perfect).

  Other caching plugins may or may not provide suitable settings.

Note: the plugin also includes an API to allow client side geolocation for use with your own javascript – this should work with any type of page caching.

You can also simply use the CCA widget to display relevant content by category (ignoring visitor country).

full answer: see CCA documentation

The most specific entry found is used. For less specific entries, categories have higher priority than visitor location.
So for a Fench visitor viewing a Books post: content defined for “visitor anywhere”|Category “Books” would win over content defined for “France”|Category “Any”.

Short answer:yes [via the CCA goodies extension] (http://wptest.means.us.com/cca-goodies-extension/ ) where you positively opt to allow PHP.

Long answer: any plugin enabling input of arbitrary PHP has increased security risks, however I am aware there is high demand for this feature.
To protect normal non-PHP users, you will have to positively opt to enable PHP. For security opt-in is set by a separate plugin to the widget that executes it.

Short answer:

  Yes for Cloudflare with their standard caching option

  “Perfectly” for Comet Cache and WP Supercache when using the country caching plugin extension for WPSC, or
for Comet/ZC/QC. See CCA documentation.

  W3 Total Cache: DIY solutions (less than perfect).

  Other caching plugins may or may not provide suitable settings.

Note: the plugin also includes an API to allow client side geolocation for use with your own javascript – this should work with any type of page caching.

You can also simply use the CCA widget to display relevant content by category (ignoring visitor country).

full answer: see CCA documentation

Short answer:yes [via the CCA goodies extension] (http://wptest.means.us.com/cca-goodies-extension/ ) where you positively opt to allow PHP.

Long answer: any plugin enabling input of arbitrary PHP has increased security risks, however I am aware there is high demand for this feature.
To protect normal non-PHP users, you will have to positively opt to enable PHP. For security opt-in is set by a separate plugin to the widget that executes it.

Short answer:

  Yes for Cloudflare with their standard caching option

  “Perfectly” for Comet Cache and WP Supercache when using the country caching plugin extension for WPSC, or
for Comet/ZC/QC. See CCA documentation.

  W3 Total Cache: DIY solutions (less than perfect).

  Other caching plugins may or may not provide suitable settings.

Note: the plugin also includes an API to allow client side geolocation for use with your own javascript – this should work with any type of page caching.

You can also simply use the CCA widget to display relevant content by category (ignoring visitor country).

full answer: see CCA documentation

Short answer:

  Yes for Cloudflare with their standard caching option

  “Perfectly” for Comet Cache and WP Supercache when using the country caching plugin extension for WPSC, or
for Comet/ZC/QC. See CCA documentation.

  W3 Total Cache: DIY solutions (less than perfect).

  Other caching plugins may or may not provide suitable settings.

Note: the plugin also includes an API to allow client side geolocation for use with your own javascript – this should work with any type of page caching.

You can also simply use the CCA widget to display relevant content by category (ignoring visitor country).

full answer: see CCA documentation

Changelog

1.2.3

1.2.2

1.2.1

1.2.0

1.0.1

0.9.2

How to install Category Country Aware WordPress

Requirements: PHP 5.3 or later. Maxmind Geolocation (if used) requires at least PHP 5.4.

Install in the usual way:

1.Plugins -> Add New -> do a search for “Category Country Aware” to find it -> click “install now”

2.Activate the plugin.

3.Use the Dashboard->’Settings’->’CCA Goodies’ and the Dashboard->’Appearance’->’Widgets’ menus to configure.