Back to Top

How to add Tags in WordPress Pages?

To add Tags to the page in Wordpress

In WordPress, Sometimes we want some functionalities for pages too which are available for posts in WordPress. And mostly what we do, we just install a new plugin for some simple and easily developed functionality in WordPress.

So Here I am going to share how you can add tags to WordPress pages without the use of the plugin. It’s pretty simple and efficient.

Let’s see the code for same.You need to copy and paste below line of code into functions.php file of your theme.

function add_tags_to_pages(){
	add_meta_box('tags_post_tag', __('Tags'), 'post_tags_meta_box', 'page', 'side', 'low');
	register_taxonomy_for_object_type('post_tag', 'page');
}
add_action( 'admin_init', 'add_tags_to_pages' );

That’s it, You can see the pages, your tags are there on the right side. 🙂

Thank you for reading, good luck and let me know if you run into any problems & I’ll help as much as I can 🙂

Hope this post will helpful for you, waiting for your responses.Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How To Reset resourceID in MODx

Posted on 6 years ago

Bhumi

How to use Custom Query in Joomla?

Posted on 6 years ago

Bhumi

How To use Singleton Design Pattern in PHP

Posted on 7 years ago

Bhumi

Django Tutorial for beginners

Posted on 3 years ago

Bhumi

Welcome to Creative Dev

Posted on 7 years ago

Bhumi

Hello world

Updated 5 days ago

Nick Carter

In depth Understanding of Laravel Core

Updated 2 months ago

Bhumi

ECMAScript 6 New Features – 2

Updated 1 year ago

Bhumi

The Reader’s Poll – August 2014

Posted on 4 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 5 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 5 years ago

Bhumi