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

Filter Page by Template

外掛說明

If your WordPress website has hundreds of pages and your theme has many page templates then sometimes you want to see the pages those are using a specific template. But by default there is no way in WordPress admin to search posts or pages associate with a template. “Filter Page by Template” plugin helps you to do this. It adds a dropdown list of page template above the post/page list. You can filter posts/pages by selecting a template from the dropdown. Also you can filter and see pages those are using missing templates. There is a new column Template in page list table. This Template column shows the name of page template that is being used for a particular page. If a template file is not exist then that will be shown in red color. On Template column you will see the template’s display name. To see the php file name mouse over on the template name.

Using this plugin you can do :

  • Filter page list according to page template.
  • See which page is using which template.
  • See which page template is being used by which pages.
  • See which pages are using missing templates.
  • Know the PHP file name of templates.
  • You can do the same things above for posts and any custom post type posts.

螢幕擷圖

  • Page Template Filter Dropdown
  • Column that shows Page template name

安裝方式

Modern Way:

  1. Go to the WordPress Dashboard “Plugin” section.
  2. Search For “Filter Page by Template”.
  3. Install, then Activate it.

Old Way:

  1. Upload the filter-page-by-template folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

How To Use Filter Page by Template:

Just Install and activate. Go to all pages list page, Select a template from the dropdown and click on filter button.

使用者評論

2023 年 1 月 9 日 1 則留言
Works well for me with over 500 pages using multiple templates. I'm running WordPress 6.1.1 so it would be nice if it was tested by the author up to that level. Thanks for providing the plugin.
閱讀全部 45 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Filter Page by Template〉的開發相關工作。

參與者

將〈Filter Page by Template〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

3.1 (October 05, 2022)

  • Fix PHP Notice: Undefined index: pagenow.

3.0 (August 25, 2022)

  • Show appropriate templates dropdown list for posts and custom post types.
  • Show template column for posts and custom post types.

2.2 (March 19, 2022)

  • Fix plugin translation.

2.1 (March 19, 2022)

  • Fix plugin translation.

2.0 (March 19, 2022)

  • Make plugin translatable.
  • Fix typo.

1.6 (December 14, 2020)

  • Nothing new , Just update readme with tested up to 5.6 version.

1.5 (October 03, 2020)

  • Nothing new , Just update readme with tested up to 5.5.1 version.

1.4 (March 30, 2019)

  • Admin notice to rate this plugin on WordPress.org.

1.3 (March 29, 2019)

  • Nothing new , Just update readme with tested up to 5.1.1 version.

1.2 (August 13, 2018)

  • New feature : Show pages those are using missing templates. A new item “All Missing Page Templates” has been added to the page template dropdown list.

1.1

  • New feature : A new column Template has been added to page list table to show name of page template for particular pages

1.0

  • Initial release