This plug-in allows you to record a country against your posts.
<?php country_tag($post->ID); ?>in your index.php template file to show a post's country icon.
<?php country_tag($post->ID, false); ?>in your single.php template file to show the post's country icon.
<?php gobal $post; ?>declaration in your template files too if not already there.
false) determines if it is a short or long output. In the following examples the <IMG /> represents the flag icon.
<?php country_list_countries(); ?>.
Requires: 2.5 or higher
Compatible up to: 3.6.1
Last Updated: 2013-10-21
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?