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 that are using a specific template. But by default, there is no way in WordPress admin to search posts or pages associated with a template. “Filter Page by Template” plugin helps you to do this. It adds a dropdown list of page templates above the post/page list. You can filter posts/pages by selecting a template from the dropdown. Also, you can filter and see pages that are using missing templates. There is a new column Template in the page list table. This Template column shows the name of the 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 the 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 the filter button.

評價

2024年7月4日
I have a website where I have “internal” sites, like multisite except not. So all of my multiple personality and professional sites redirect to their own internal page of my new master project website. Why? Well, it gives me just one place to work, and all of my licensed plugins are licensed for a single site. I just retired with a single uber-project. I need time to do life stuff and it is just much easier to have a single “real” website. This plugin makes it easy to focus on an internal site as each has their own set of templates, letting each feel like their own site.
閱讀全部46個評價

貢獻者及開發者

“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 the dropdown list of appropriate templates 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 the 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 that 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 the page list table to show the name of the page template for particular pages

1.0

  • Initial release