Linux 软件免费装

Category Country Aware Wordpress

开发者 wrigs1
更新时间 2021年3月24日 18:58
捐献地址: 去捐款
PHP版本: 5.4 or later 及以上
WordPress版本: 4.9.6
版权: GPLv2 or later
版权网址: 版权信息

标签

RSS Country Category Advertisement Advert Category Widget RSS Widget GeoIp Geo-Location Adverts News Feed

下载

1.2.0 1.2.1 1.2.2 1.2.3 0.6.1 0.7.0 0.7.7 0.8.0 0.8.5 0.9.0 0.9.1 0.9.2 1.0.1 1.1.0

详情介绍:

Country Geolocation shortcodes for every need, plus the most flexible Text (and RSS) Widget available. Customize and personalize your posts and widget content for your visitor's locale (country) and/or the current category. https://www.youtube.com/watch?v=EyT-WQh39E8   Customize post content to suit the visitor's location (country). Display category relevant and visitor country relevant adverts/content in posts and widget areas. Make category and country aware CCA widgets (text/scripts/news feeds) relevant to the post's category and/or visitor's location. Make your CCA widgets/adverts smart responsive (display in post or sidebar depending on screen width).   Features ( more info in the CCA Plugin Guide):   Travel Blog EXAMPLE: In one CCA sidebar widget (you can use more): Use "Ads within posts widget" to display a gadget advert within posts in category "equipment". Use shortcodes to customize your posts for visitors from different countries e.g.   CCA Goodies Extension Currently free for a tweet see this post for more info. More flexibility for sidebar widgets . More "Ads in Posts" widgets. Enable PHP. Preview mode + view CCA content as if you are a visitor from specified country. More Geolocation shortcodes. Give pages "categories" etc etc.   GeoIP Country Data: This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com . If you use Cloudflare and have "switched on" their GeoLocation option ( see Cloudflare's instructions ) then it will be used to identify visitor country. If not, then the Maxmind GeoLite2 Country Database, installed by this plugin, will be used. Experts: a "hook" is provided to allow you to use other GeoIP systems with this plugin.   Developers and coders: edit functions.php or build your own CCA extension plugin using CCA functions, filters and actions. Useful functions & methods are detailed in the CCA website's documentation. Actions, Filters & Hooks have yet to be documented; but view the RSS code within this plugin or download the "CCA Goodies Extension" from the CCA website to give you an idea of how to add additional functionality. If you want to build your own extensions then contact me first as there is a chance that hooks will be renamed or removed.

安装:

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.

屏幕截图:

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

升级注意事项:

1.2.3
  • Shortcodes can now be used in CCA widgets
  • Cookie Noitce - improvements & fix to hide CN revoke button for non-EU visitors
  • Geo Country/EU API added for AJAX calls by other plugin or your own javascript

常见问题:

Where can I find support/additional documentation

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

How does the widget decide which of my category/country entries to use?

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".

Can the widget be made to execute PHP code?

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.

Caching plugins/services have problems with dynamic content such as GeoIP. Will the country location part of the CCA plugin work with these?

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

更新日志:

1.2.3 1.2.2 1.2.1 1.2.0 1.0.1 0.9.2