I found this country array online and cannot vouch for it’s accuracy. You can add this to your functions.php file in your current theme. Reload WordPress and it should add them. Once they are added, delete this code. I did put a check in there to make sure they aren’t added twice.

I’ve tried some tutorials and some guides found by Google but none which has yet to work. Add bellows php code on your function.php file for register custom taxonomy like ‘country’.

Also need to display drop-down menu on sidebar of WordPress admin dashboard. So you have to add bellows code for this on your function.php file. This suppose you have normal post type “post” and a custom taxonomy “country”.

Published by S M Hasibul Islam

I am S M Hasibul Islam (Bachelor of Computer Science & Engineering), a web programmer with more than 5 years experience as like skill php, mysql, html5, css3, javascript, jquery, wordpress, responsive web design, hosting managements with VPS, shared server, also web UI, SEO, SMM.

Leave a comment

Your email address will not be published. Required fields are marked *


New to site? Create an Account


Lost Password?

Already have an account? Login


Hotel Booking in BangladeshBCS Preparation Online Website Design Company in BangladeshHigh Risk Solutions Merchant Account Services