3
200
8K
0
24 March 2021
18 November 2014
Based on 3 on WordPress.org
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
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.