[WordPress] 外掛分享: Category Country Aware WordPress

前言介紹

  • 這款 WordPress 外掛「Category Country Aware WordPress」是 2014-11-17 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2021-03-24,距離現在已有 1501 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

wrigs1 |

外掛標籤

GeoIP | country | category | RSS Widget | category widget |

內容簡介

由於個人原因,我不能再繼續開發或支援此外掛。如果您有興趣接手此外掛,請參閱 https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/

國家地理位置簡碼滿足所有需要,加上最靈活的文字(和 RSS)小工具。為您的訪客的區域(國家)和/或當前類別定制和個性化您的帖子和小工具內容。

 

自定義帖子內容以適應訪客所在地(國家)。

在帖子和小工具區域中顯示與類別相關和訪客國家相關的廣告/內容。

製作類別和國家意識的 CCA 小工具(文字/腳本/新聞動態),與帖子的類別和/或訪客的位置相關。

製作智能響應式的 CCA 小工具/廣告(根據屏幕寬度在帖子或側邊欄中顯示)。

 

功能(在 CCA 外掛指南中了解更多):

位置感知簡碼可在帖子和頁面中使用(請參閱 CCA 文件)。您甚至可以自動將文本中的溫度轉換為訪客使用的刻度。

您可以基於類別和/或訪客所在地控制小工具內容

在側邊欄中添加多個小工具,每個小工具都可配置顯示基於當前類別/國家的內容

按名稱選擇類別(而不是非友好的數字 id)

您可選擇要顯示的 RSS 新聞內容的字符數(不像 WP RSS 小工具)

選項可將新聞鏈接的 nofollow 和 RSS 鏈接打開到新選項卡中(與 WP RSS 小工具不同)

相同的小工具可根據類別和訪客所在地用作「文字」或 RSS 小工具,節省寶貴的側邊欄空間

可與 Cookie Notice 外掛一起使用,僅限歐盟訪客顯示通知

可與 Menu Item Visibility Control 外掛一起使用,修改主導覽鏈接以適應訪問者所在地

客戶端(瀏覽器) Ajax 國家/歐盟地理定位的 API - 暴露提供用於需要 JavaScript 解決方案的外掛和開發人員。

擴展(開發人員參見下文)提供其他功能(請參閱插件文檔)

 

旅遊博客示例:

在一個 CCA 側邊欄小工具(您可以使用更多)中:

默認顯示酒店預訂廣告/表格

對於類別「Equipment」的帖子,顯示 Amazon.COM 旅遊小工具廣告/表格;
但如果訪客位於英國或愛爾蘭,顯示 Amazon.CO.UK 的等效廣告/表格;

類別「Transport」:顯示航班搜索廣告

類別「Information」:默認顯示英國政府旅遊警告新聞動態(RSS);
但如果訪客是來自美國或紐西蘭,則顯示他們政府的等效提要

使用「帖子中的廣告小工具」在「equipment」類別的帖子中顯示小工具廣告。

設置小工具僅在小型設備(即當側邊欄不可見時)中顯示。

使用簡碼為不同國家的訪客自定義您的帖子,例如:

[display only=”US,GB”]some content[cca_display]將僅顯示來自美國和英國的訪客

原文外掛簡介

DUE TO PERSONAL CIRCUMSTANCES I AM NO LONGER ABLE TO DEVELOP OR SUPPORT THIS PLUGIN. IF YOU ARE INTERESTED IN ADOPTING THIS PLUGIN SEE https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/
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.

 
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):

location aware Shortcodes for use in posts and pages (see CCA documentation). You can even auto convert temperatures in your text to the scale used by your visitor.

YOU control widget content based on category(s) and/or visitor’s locale(s)

add multiple widgets to the sidebar, each configurable to display content based on current Category/Country aware content

select categories by name (not by unfreindly numeric id)

YOU choose the number of characters to display for RSS News Item excerpts (unlike WP RSS widget)

option to nofollow news feed links and to open RSS links in new tab (unlike WP RSS widget)

the same widget can be used as “Text” or RSS widget, depending on category and visitor locale, saving you valuable sidebar space

can be used with Cookie Notice plugin to limit display of notice to EU visitors only

can be used with Menu Item Visibility Control plugin to modify main navigation links to suit visitor’s locale

API for client side (browser) Ajax country/EU geolocation – for use by plugins and coders who need a javascript solution.

extensions (developers see below) providing additional functionality (see plugin documentation)

 
Travel Blog EXAMPLE:
In one CCA sidebar widget (you can use more):

display a hotel booking advert/form by default

for posts in category “Equipment” display an Amazon.COM Travel Gadget advert;
but if the visitor is located in the UK or Ireland display an Amazon.CO.UK equivalent;

category “Transport”: display a flight search advertisement

category “Information”: display UK Gov Travel Warnings News Feed (RSS) by default;
but if the visitor is from US or NZ show their Government’s equivalent Feed instead

Use “Ads within posts widget” to display a gadget advert within posts in category “equipment”.

set widget to only display on small devices i.e. when your sidebar is not visible.

Use shortcodes to customize your posts for visitors from different countries e.g.

[display only=”US,GB”]some content[cca_display] will only display the enclosed content, advert etc to visitors from US and UK.

[cca_display not=”GB,AU”]some content[cca_display] will NOT display the enclosed content to visitors from the specified countries.

 
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.
License
This program is free software licensed under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
In particular please note the following:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Category Country Aware WordPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


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 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 |

延伸相關外掛(你可能也想知道)

  • Price Based on Country for WooCommerce 》Price Based on Country for WooCommerce 可以讓您根據客戶所在的國家以多種貨幣出售同一產品。, 如何運作, 該外掛使用 WooCommerce(2.3.0 或更新版本)中包...。
  • Geolocation IP Detection 》P地址提供了地理信息,可以在主題或其他外掛中使用,作為 shortcode 或通過 CSS body classes。城市和國家名稱被翻譯成不同的語言(支持的語言)。, 特徵:, ...。
  • AntiSpam for Contact Form 7 》您現在使用的防垃圾郵件插件效果不佳嗎?也許是因為它沒有使用正確的方法來阻止攻擊您的機器人,但我想我有一個解決方案!, 「Contact Form 7防垃圾郵件插件...。
  • If-So Geolocation 》- 使用此插件可以顯示用戶的國旗(圖像或表情符號),並記錄地理位置請求,以分析日誌來查找並排除機器人流量。- If-So 是一個簡單易用的 WordPress 插件,無...。
  • Geolocation Detector for Gravity Forms 》提供動態國家偵測功能,可應用於Gravity Forms表單,需安裝 GeoIP Detect Plugin。, 功能, , , 提供一個名為“地理位置”的進階欄位, , , 創建 5 個新過濾器:i...。
  • WP Engine GeoTarget 》WP Engine GeoTarget allows websites to display geographically relevant content based on the visitor's location. It can be used for geo-marketing, l...。
  • WP Cloudflare GeoIP Redirect 》WP Cloudflare GeoIP Redirect 外掛讓您可以設定指定國家的使用者被導向至特定的網址。, 該外掛使用 Cloudflare 的 IP 地理位置資料取得地理位置資訊。, 利用...。
  • Preenchimento Automatico CEP Brasil 》透過郵遞區號自動填入地址欄位, 我們使用第三方 API https://viacep.com.br 提供的服務,其使用條款可在 https://viacep.com.br 的連結中查閱。。
  • Country Caching For WP Super Cache 》由於個人情況,我無法再開發或支援此外掛。如果您有興趣接手此外掛,請參閱 https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-...。
  • Select Estados e Cidades Brasil 》WordPress外掛選擇巴西州市自動填充巴西的州和城市。, 我們使用https://www.mestresdowp.com.br/機構的API,其使用條款可在以下鏈接中找到:https://www.mest...。
  • Comment Location Tracker 》這個 WordPress 外掛能夠追蹤留言作者的 IP,在留言管理頁面上顯示該 IP 的國家、地區、以及城市。未來會提供更多功能。。
  • ClarifyIP Geo Blocking 》, , , 繁體中文WP外掛介紹, , , ,

    總結:...。

  • Country Specific Menu Items 》國家特定菜單項目* 允許您隱藏或顯示個別菜單項目給訪問您網站的不同國家的訪客。該外掛在「外觀 > 選單」下為每個菜單項目新增額外設置。只需選擇一個或多個...。
  • whats-my-ip 》這個外掛為 WordPress 新增了一個 [whatsmyip] shortcode,可以將目前使用者的 IP 位址嵌入文章中。這個 shortcode 支援三個參數,分別為 ip、country 和 coo...。
  • Geo IP Library 》Geo IP Library 可以啟用一些簡單但強大的功能,以在 WordPress 上提供地理 IP 國家功能。到目前為止,其主要功能包括:, , 用於插件和主題的靜態 PHP 函數。,...。

文章
Filter
Apply Filters
Mastodon