{"id":55168,"date":"2017-03-08T09:05:43","date_gmt":"2017-03-08T09:05:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/country-content-controller\/"},"modified":"2017-03-08T09:05:43","modified_gmt":"2017-03-08T09:05:43","slug":"country-content-controller","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/country-content-controller\/","author":15331259,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"4.7.33","requires":"4.5.0","requires_php":"","requires_plugins":"","header_name":"Country Content Controller","header_author":"Mint Slate","header_description":"","assets_banners_color":"66715f","last_updated":"2017-03-08 09:05:43","external_support_url":"","external_repository_url":"","donate_link":"#","header_plugin_uri":"","header_author_uri":"http:\/\/mintslate.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1801,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>No dependents to worry about<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1621249","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1621249","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1621249","resolution":"1544x500","location":"assets","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1621249","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1621249","resolution":"1","location":"assets","width":1082,"height":748},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1621249","resolution":"2","location":"assets","width":1411,"height":482}},"screenshots":{"1":"The CCC admin settings page provides a full breakdown on how to use this plugin.","2":"An example of using the shortcode on a page"}},"plugin_section":[],"plugin_tags":[1220,529,3751,1244,133463],"plugin_category":[],"plugin_contributors":[133464,127104],"plugin_business_model":[],"class_list":["post-55168","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-content","plugin_tags-country","plugin_tags-hide","plugin_tags-mintslate","plugin_contributors-mintslate","plugin_contributors-skemp45","plugin_committers-mintslate"],"banners":{"banner":"https:\/\/ps.w.org\/country-content-controller\/assets\/banner-772x250.png?rev=1621249","banner_2x":"https:\/\/ps.w.org\/country-content-controller\/assets\/banner-1544x500.png?rev=1621249","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/country-content-controller\/assets\/icon-128x128.png?rev=1621249","icon_2x":"https:\/\/ps.w.org\/country-content-controller\/assets\/icon-256x256.png?rev=1621249","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/country-content-controller\/assets\/screenshot-1.png?rev=1621249","caption":"The CCC admin settings page provides a full breakdown on how to use this plugin."},{"src":"https:\/\/ps.w.org\/country-content-controller\/assets\/screenshot-2.png?rev=1621249","caption":"An example of using the shortcode on a page"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>We use the api from http:\/\/ip-api.com\/ to find the users country.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Browse to the CCC admin tab inside of your WordPress dashboard for a full breakdown on how to use the shortcode.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I show\/hide content to more than one country in one shortcode tag?<\/dt>\n<dd><p>Currently you can not, you would have to put multiple shortcodes. In the next release we wll provide this ability.<\/p><\/dd>\n<dt>CCC wont pull the users country code so it does not work<\/dt>\n<dd><p>We suggest you enable or have your host enable fopen as ht eplugin uses file_get_contents()<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First Release. Full control over what is shown to users across the country.<\/li>\n<\/ul>","raw_excerpt":"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 t &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55168"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mintslate"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55168"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55168"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55168"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55168"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55168"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}