• About us
  • Contact
  • Rules
  • Privacy Policy
I love wordpress
  • Home
  • WordPress
  • Theme WordPress
  • Plugin WordPress
No Result
View All Result
  • Home
  • WordPress
  • Theme WordPress
  • Plugin WordPress
No Result
View All Result
I love wordpress
No Result
View All Result

Add categories and tags to pages in WordPress

haikv121 by haikv121
Tháng Tư 2, 2022
in Wordpress
0


Add categories (categories) and tags (tags) to pages (pages) in WordPress in a simple way.

them-category-va-tag-for-page-in-wordpress

Let’s temporarily ignore the reason why the page has no categories and tags. If you are looking for a simple solution to integrate categories and tags for pages in your WordPress website, then this is the article for you. With just a few lines of code or a super lightweight plugin, you can add these two types of taxonomy to your page, similar to a post. The methods all have the same effect and absolutely do not affect the web load speed, so the choice of method is up to you.

Explore more:

Table of Contents

  • Add category and tag to the page with code
    • Add category
    • Add tags
  • Add category and tag for page with plugin
  • Check the result
    • Related posts:

Add category and tag to the page with code

You can optionally add a category, add a tag or add both types of taxonomy at the same time:

Add category

Insert the following code into the file functions.php of the theme or child theme you are using. You can also insert it via plugin Code Snippets to avoid the code being deleted when upgrading the theme.

Save and check the results.

Add tags

Insert the following code into the file functions.php of the theme or child theme you are using. You can also insert it via plugin Code Snippets to avoid the code being deleted when upgrading the theme.

Save and check the results.

Add category and tag for page with plugin

All you need to do is install and activate a plugin called Pages with category and tag (download).

cai-dat-va-kich-hoat-plugin-pages-with-category-and-tag

This plugin has no settings so you don’t need to set anything. It only includes a few lines of code, so it is very light and will not affect the loading speed of the website.

Check the result

This is the default page admin interface:

page-khong-co-category-va-tag

And here is the result after adding the category and tag:

category-va-tag-for-page-in-wordpress

You can completely create new categories and tags and assign them to the same pages as for posts:

tao-category-va-tag-cho-page

It’s great, isn’t it? Good luck!

If you liked this article, follow my blog to regularly update the best and latest articles. Thanks very much. 🙂



Click to rate this post!
[Total: 1 Average: 5]

Related posts:

  1. Review Mythemeshop to store premium themes and plugins for wordpress
  2. Review ShopEngine – The Perfect Toolkit for Elementor?
  3. How to remove Powered by WordPress in the footer of the website?
  4. Instructions to completely remove WooCommerce
  5. How to export and import data in WordPress?
Tags: learn WordPresswordpresswordpress tutorial
Previous Post

Instructions to completely remove WooCommerce

Next Post

Disable language selection in login page

Related Posts

[WOOCOMMERCE] A SIMPLE PRODUCT ADDED
Wordpress

[WOOCOMMERCE] A SIMPLE PRODUCT ADDED

Tháng Năm 7, 2022
[WORDPERSS] MORE SIMPLE NEW ARTICLE
Wordpress

[WORDPERSS] MORE SIMPLE NEW ARTICLE

Tháng Năm 7, 2022
Lesson 2: How to add, delete and edit wordpress woocommerce products
Wordpress

Lesson 2: How to add, delete and edit wordpress woocommerce products

Tháng Năm 7, 2022
Lesson 3: Instructions for managing members on wordpress website
Wordpress

Lesson 3: Instructions for managing members on wordpress website

Tháng Năm 7, 2022
Next Post
Disable language selection in login page

Disable language selection in login page

Theo dõi
Đăng nhập
Thông báo của
guest
guest
0 Góp ý
Phản hồi nội tuyến
Xem tất cả bình luận

[WOOCOMMERCE] A SIMPLE PRODUCT ADDED

[WORDPERSS] MORE SIMPLE NEW ARTICLE

Lesson 2: How to add, delete and edit wordpress woocommerce products

Lesson 3: Instructions for managing members on wordpress website

HOW TO USE WIDGET IN WORDPRESS

How To Mount Facebook Pixel On Your WordPress Website Easily

  • About us
  • Contact
  • Rules
  • Privacy Policy
Contact: Haidesign010596@gmail.com

© 2021 Cepke.info

No Result
View All Result
  • Home
  • WordPress
  • Theme WordPress
  • Plugin WordPress

© 2021 Cepke.info

wpDiscuz
0
0
Rất thích suy nghĩ của bạn, hãy bình luận.x
()
x
| Reply