Title: Index Pages
Author: Doug Wollison
Published: <strong>2016 年 2 月 3 日</strong>
Last modified: 2024 年 10 月 14 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/index-pages.svg)

# Index Pages

 由 [Doug Wollison](https://profiles.wordpress.org/dougwollison/) 開發

[下載](https://downloads.wordpress.org/plugin/index-pages.1.3.0.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/index-pages/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/index-pages/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/index-pages/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/index-pages/#developers)

 [技術支援](https://wordpress.org/support/plugin/index-pages/)

## 外掛說明

The Index Pages system allows you to designate pages as the index page for a particular
post type.

This allows you to have a custom title, text content, and other information displayed
on your
 post type archives, should your current theme support it.

For theme developers, the plugin offers some template functions for loading the 
post object for the
 current index page (including the posts page), in a similar
fashion to `the_post();`, to create things like a customizable introductory banner
that appears above the listing, using the index page’s data.

Designated index pages are flagged as such in the Pages manager, for easy recognition.

### Usage Documentation

The Index Page assignment interface can be found under Settings > Reading. By default,
all post types
 registered with the `has_archive` argument set to true will be available
for assignment.

For theme and plugin developers, you can register support for your custom post types
like so:

    ```
    IndexPages\Registry::add_post_types( $post_types ); // a single post type or array of post types
    ```

When an index page is assigned, it’s permalink will point to the associated post
type’s archive, with
 the page title updated appropriately.

For theme and plugin developers, you can access the index page’s post object with
the following.

    ```
    the_index_page();
    ```

This works exactly like `the_post();`, populating the `$post` variable with the 
index page’s data.

## 安裝方式

 1. Upload the contents of `index-pages.tar.gz` to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Doug Wollison ](https://profiles.wordpress.org/dougwollison/)

[將〈Index Pages〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/index-pages)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/index-pages/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/index-pages/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/index-pages/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/index-pages/)。

## 變更記錄

**Details on each release can be found [on the GitHub releases page](https://github.com/dougwollison/index-pages/releases)
for this project.**

#### 1.3.0.1

Quick Fix: apparently the Liaison class was never committed to the SVN repo.

#### 1.3.0

Improved handling of post types, bug fixes and WPSEO compatibility.

#### 1.2.0

Added checks to make sure an index page’s associated post type exists.

#### 1.1.0

Updated file and code structure, added missing static keyword to Backend::add_index_notice().

#### 1.0.0

Initial public release.

## 中繼資料

 *  版本 **1.3.0.1**
 *  最後更新 **2 年前**
 *  啟用安裝數 **60+**
 *  WordPress 版本需求 ** 4.0.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.6.5**
 *  PHP 版本需求 ** 5.4.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/index-pages/)
 * 標籤:
 * [custom post type](https://tw.wordpress.org/plugins/tags/custom-post-type/)
 *  [進階檢視](https://tw.wordpress.org/plugins/index-pages/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/index-pages/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/index-pages/reviews/)

## 參與者

 *   [ Doug Wollison ](https://profiles.wordpress.org/dougwollison/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/index-pages/)