這個外掛並未在最新的 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.

使用者評論

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.
2017 年 9 月 7 日
I can tag pages and use it with the "post by tag" plugin to display both related posts and pages. Great!
閱讀全部 15 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Tag Pages〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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

變更記錄

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.