该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Create And Assign Categories For Pages

描述

This plugin will help you to create the new category for your wordpress pages. You can assign those categories to your pages.

With that, you can get your wordpress pages with the help of specific category.

This will save your time from custom coding.

Features

  • Create new Categories for wordpress Pages.
  • Assign them to the pages.
  • Lets you display List of Pages based on Categories
  • The plugin utilizes the archive.php and tag.php file included in your theme.

What are the benefits ?

There are some benefits of adding category to your Pages like, You can
* Embed a Category Based List of Pages.
* Create a Tag based archive for Pages.
* Create a Category based Archive for Pages
* Hide Pages belonging to specific Category.. and many More

you can list all your categories by wordpress default function “wp_list_categories();” .

屏幕截图

安装

This section describes how to install the plugin and get it working.

  1. Add plugin from your wordpress dashboard,add new plugin or Unzip archive and upload the entire folder to the /wp-content/plugins/ directory.
  2. Activate the plugin from wordpress dashboard ‘Plugins’ menu.
  3. Plugin is activated now.
  4. Now click on “Pages” from your dashboard and click on categories, create new category here.
  5. You can now add Categories to the Pages just like you do it for your Posts.
  6. Now you can get the pages with specific category with the help of query post/wp_query.
  7. Enjoy.

常见问题

To get pages along with category assigned with your post query. Use this ‘category_name’ => ‘your-category-slug’. Done.

评价

2022 年 2 月 24 日 1 回复
Excellent plugin for creation of tags and categories. It has solved the problem of creating tags for me. i would like to suggest to give us opportunity to go to settings of the plugin from wordpress plugins window.
2021 年 7 月 26 日
Thank you very much for this plagin! But i was not able to assign it correctly. I ve got a category(page) called freebooks, but the content of the page won’t appear in that page. Could you guys help me about this? ‘freebooks’ => ‘freeboks’. I do not get this slug thing. Thank you!
2021 年 4 月 18 日
Big thanks to Sandeep, The plugin works well. I just want to ask what happens to URL of pages from SEO perspective. I have pages domain.com/products/itemType1_PageA domain.com/products/itemType1_PageB domain.com/products/itemType2_PageC domain.com/products/itemType2_PageD Now when I create category itemType1 new URL is created: domain.com/category/itemType1 Where itemType1_PageA and itemType1_PageB are listed. My question is will the new URL interfere with existing links or not?
2021 年 2 月 7 日
Please do fix. This plugin crash with Yoast SEO. When I created new page, the Category option did appear but the categories under it didn’t showing up. And there is an error sentence “An error occurred loading the Yoast SEO primary taxonomy picker.”
2020 年 12 月 31 日 2 回复
This plugin is great. Hopefully it gets updated soon!
2020 年 12 月 29 日 1 回复
Thanks for an EXCELLENT plugin – i rarely give plugin reviews, but yours definately deserve more than 5 stars – it works simply and easily, without adding bulk to my website, and i can categorise my pages now – job well done!! Please keep up the good work 🙂
阅读所有11条评价

贡献者及开发者

「Create And Assign Categories For Pages」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

Version 1.2

  • Minor updates and released the plugin.
  • Create and adds the Categories and Tags to your Pages in WordPress.