How to Add Categories and Tags to WordPress Pages

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.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , , , , ,