=== WP User Country ===
Contributors: Adrian Lazariuc
Donate link: None
Tags: wordpress profile, user profile, profile, field, username, user, country, flag
Requires at least: 2.8
Tested up to: 2.9-rare
Stable tag: 1.1
Adds an additional country select field to the user profile page where they can select their country name and also see their country flag.
== Description ==
WP User Country is a simple WordPress plugin there gives you a country select option in your profile admin to be able to show your country name or flag into your profile.
It does also include a shortcode to allow you to display your country name or flag in posts, pages and text widgets.
== Installation ==
Installation Instructions:
1. Download the plugin and unzip it.
2. Put the wpusercountry folder into the <code>wp-content/plugins/</code> directory.
3. Go to the Plugins page in your WordPress Administration area and click 'Activate' next to WP User Country.
5. Go to your Profile page and at the bottom of the page is a select field called Country. Select your country there.
6. If you use it inside the loop just add <?php echo wpusercountry_name_display() ; ?> to show the country for that username.
If you use it inside the loop just add <?php echo wpusercountry_img_display() ; ?> to show the country flag for that username.
If it's outside the loop use for country name <code><?php echo wpusercountry_img_display(1) ; ?></code> where 1 is the User ID
If it's outside the loop use for country flag <code><?php echo wpusercountry_img_display(1) ; ?></code> where 1 is the User ID
7. If you want the username to be showed in posts, pages or text widgets then use
<code>[wpusercountry-user]</code> will display the country name without any markup
<code>[wpusercountry-user flag="yes"]</code> will display the .gif flag image
== Frequently Asked Questions ==
= It don't work - What should I do? =
First of all, make sure that the plugin is activated. If you add the to your theme file(s) when make sure that you use <code><?php echo wpusercountry_img_display(1) ; ?></code> if
it's OUTSIDE the loop.
== Screenshots ==
1. The Profile page
2. How to use shortcodes in posts, pages and text widgets
== Changelog ==
= 1.0 =
* Initial Release
= 1.1 =
* Adds a Dashboard widget
== Support ==
Support is provided at http://indeziner.com/wordpress-plugins/wp-user-country/