이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Content by Country

설명

Using [cbc][/cbc] tags, you can set content to be included or excluded when a visitor views a post, depending on their
IP’s country of origin.

Here is a typical example of the [cbc][/cbc] tags being used:

[cbc:+usa:+gb]My example content here.[/cbc]

Each country code used is in the tags is separated by a : and followed by either a + (to include a country) or – (to exclude a country) from
viewing the content. The example above would only display the content between the tags to visitors with an IP address from the
USA or the UK.

설치

  1. Upload the content-by-country folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can now start using [cbc][/cbc] tags to target content by a visitor’s country of origin in posts

FAQ

What is the tag format used to target content by country?

[cbc:+usa]My example content here.[/cbc]

Each country code used in the tags is separated by a : and then followed by a + (to include a country), or – (to exclude a country).

The example above would therefore show the text only to a visitor with an IP address from the USA.

Can I include or exclude multiple countries using 1 set of tags?

Yes, see the example below, which excludes both the USA and UK, but shows it to everyone else:

[cbc:-usa:-gb]My example content here.[/cbc]

Where can I find a full list of country codes that can be used?

You can view a full list of countries supported, and their codes, from your WordPress dashboard at Manage -> CBC Content, or by using the link below:

http://www.simonemery.co.uk/wp-plugins/content-by-country/

Will the database used ever go out of date?

The plugin uses the GeoLite Country database from maxmind.com, which is updated at the beginning of each month. You can download
an updated database from the link below (you will need the binary version):

http://www.maxmind.com/app/geolitecountry

You would then need to overwrite the GeoIP.dat file in the database folder of the plugin.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Content by Country”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Content by Country”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.