strong>WP User Country is a simple WordPress plugin that 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 Instructions
- Download the plugin and unzip it.
- Put the wpusercountry folder into the
wp-content/plugins/
directory. - Go to the Plugins page in your WordPress Administration area and click ‘Activate’ next to WP User Country.
- Go to your Profile page and at the bottom of the page is a select field called Country. Select your country there.
- 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<?php echo wpusercountry_img_display(1) ; ?>
where 1 is the User ID
If it’s outside the loop use for country flag<?php echo wpusercountry_img_display(1) ; ?>
where 1 is the User ID - If you want the username to be showed in posts, pages or text widgets then use:
[wpusercountry-user]
will display the country name without any markup[wpusercountry-user flag="yes"]
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 <?php echo wpusercountry_img_display(1) ; ?>
if it’s OUTSIDE the loop.
Screenshots
Admin select country option
Use inside post example
Requirements
Requires at least: 2.8
Tested up to: 2.9-rar

[...] here: WordPress plugins: WP User Country | INDEZINER Related Posts:Wordpress plugins: WP User Country | INDEZINERWordPress Plugin Releases for [...]
[...] the original post here: WordPress plugins: WP User Country | INDEZINER SHARETHIS.addEntry({ title: "Wordpress plugins: WP User Country | INDEZINER", url: [...]
[...] the original post here: WordPress plugins: WP User Country | INDEZINER internet [...]
Hi,
This looks like just the plugin I need for my site, but the download linking isn’t working (“The server at media.indeziner.com is taking too long to respond.”).
Is there another way to obtain this? Thanks!
Hi!
I have tested it and it works fine.
This is download link: http://media.indeziner.com:81/wordpressplugins/wp-user-country.zip
Maybe you have some restriction to download files.
Thanks,
No restrictions that I’m aware of, I’ll try again outside of the office and see what happens.
Will let you know.
Woohoo!
Must have been the firewall at work.
Got it now, many thanks!
I have a few more questions about this – do you have a support area other than these comments?
Warning: Missing argument 1 for wpusercountry_name_display(), called in /home/descarg3/public_html/fullsoftgamer.net/wp-content/themes/fullsoftgamer2/author.php on line 74 and defined in /home/descarg3/public_html/fullsoftgamer.net/wp-content/plugins/wpusercountry/wpusercountry.php on line 383
Im getting that error.. It shows the Country and flag.. But it says that error..
Im putin it on the author.php
Hi Santiago!
Try to use it like this and should work: wpusercountry_img_display(1). So place 1 inside brackets.
How to put it in the registration form, as the users can select their country during registration?
Hi Bruce!
There is not such option created for registration form, but you can use another plugin that will do this and will be possible to get the country from my plugin. For example try Cimy User Extra Fields (http://wordpress.org/extend/plugins/cimy-user-extra-fields/). There should be possible for you to use the country option.
How does is work with Buddypress?
How to connect it & show flags after @username where it appears across website?