Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Country Content Controller

Aprašymas

Country Content Controller allows a website owner the ability to hide/show divs to specific countries. This is done through the use of shortcodes on the specific page you want the content hidden.

We use the api from http://ip-api.com/ to find the users country.

Ekrano nuotraukos

  • The CCC admin settings page provides a full breakdown on how to use this plugin.
  • An example of using the shortcode on a page

Diegimas

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Browse to the CCC admin tab inside of your WordPress dashboard for a full breakdown on how to use the shortcode.

DUK

Can I show/hide content to more than one country in one shortcode tag?

Currently you can not, you would have to put multiple shortcodes. In the next release we wll provide this ability.

CCC wont pull the users country code so it does not work

We suggest you enable or have your host enable fopen as ht eplugin uses file_get_contents()

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Country Content Controller” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.0

  • First Release. Full control over what is shown to users across the country.