這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Tag Pages

描述

Add tags to a Page just as you would do with a Post.

This plugin adds the ‘post_tag’ taxonomy to the Page post type.
This enables the tags metabox in the New or Edit Page interface. To show tagged
Pages on a tags archive page or in a feed, it uses the ‘pre_get_posts’ hook
to change the post_type query parameter to ‘any’.

The plugin has no settings, does not alter the database and only uses hooks to
achieve it’s goal. It also should work perfectly fine with Multisite installations.

If this plugin meets your expectations and you use it commercially
please consider a donation to one of these organisations or your country’s equivalents:

Notes

Credits:

Tag icon used in the WordPress plugin repository and found in /assets/icon*
From the series ‘Flat Shadows’ By Shannon E Thomas

Thanks Shannon E Thomas and to[icon] for sharing your work!

WordPress repository header image found in /assets:
‘Crew Baggage Tag’

From the Leslie Grimes Moser Photo set. Moser was a flight attendant for Capitol Airlines.
Repository: San Diego Air and Space Museum Archive

Thanks San Diego Air and Space Museum Archive & Flickr Commons – flickr.com/commons

螢幕截圖

  • A screenshot of the (older) WordPress backend Pages section with the Tags metabox marked red.
  • A screenshot of the WordPress backend Pages section using the Gutenberg block editor with the Tags (document properties) marked red

安裝

  1. Upload the tag-pages directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

常見問題

Tags are not displayed?

If you don’t see the tags of tagged Pages, make sure your theme supports displaying tags for Pages.
This plugin does nothing to make tags appear on your website. Tag Pages makes it possible to add tags to your Pages in the WordPress database.
It is your theme’s responsibility to display tags (if any) on your website. Make sure the theme you are using supports displaying tags on Pages.

Is Gutenberg supported?

Yes, the Gutenberg block editor is supported from version 1.0.2 and upwards.
NB: The Classic Editor plugin is also supported.

Is this plugin actively being developed?

Yes and no. Let me explain:
I consider this plugin to be feature complete and unless bugs are found there will be no development on this plugin. In other words this plugin is in maintenance mode and will be maintained for the foreseeable future.
Due to other obligations I’m not always able to keep up with WordPress version’s and updating this readme’s ‘Tested up to’ version number.
However, unless WordPress significantly changes the way taxonomies work (and breaking backwards compatibility in the process) this plugin should continue to work fine even though the ‘Tested up to’ might be of a lower version number.
As always, when in doubt, test it 🙂 (and when it does give you issues, feel free to leave a comment).

評價

2021年2月3日
Happily recommend this plugin, it works fine on latest WP (currently 5.6) and with latest Divi (4.8.2). You can add it more than once to say near the top and bottom footer of the page too.
2018年3月16日
It's a very simple and handy plugin. In case it saves someone's time to figure out, if you want to show tags on pages, you just edit page.php located in your theme folder and add: the_tags(); wherever you like.
2017年9月24日
Adds Tags taxonomy to Pages (just like in posts). Very useful for sorting and displaying different page types.
閱讀全部17個評價

貢獻者及開發者

“Tag Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Tag Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.2 – feb 4, 2020

  • No changes in the code (so the version is the same), just added a clarification on the status of this plugin in the readme.

1.0.2 – Feb 2, 2019

Fixes

  • Gutenberg does not show tags on page create/edit screen

1.0.1 – June 21, 2016

Fixes

  • Unable to save bulk edit of tag filtered posts in wp-admin.