How to Add Categories and Tags to WordPress Pages

| Last Updated: | In: WordPress, WordPress Snippets


By default categories and tags are only available for the posts, it is not available for the pages. It’s due to most of the time pages are used to create static content pages. Do you want categories and tags are also available for the pages as well, then keep your close attention in this post as I am going to share a simple code hack which allows you add categories and tags in pages as well.

How to Add Categories to WordPress Pages

Open your functions.php file from theme’s folder and add the below at the end of the file. Belo code will allow you to add categories & tags in WordPress pages as well.

Over to You

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , , , , , , ,