Title: Archive
Author: Frank Bueltge
Published: <strong>2011 年 6 月 1 日</strong>
Last modified: 2020 年 5 月 4 日

---

搜尋外掛

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

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

# Archive

 由 [Frank Bueltge](https://profiles.wordpress.org/bueltge/) 開發

[下載](https://downloads.wordpress.org/plugin/archive.zip)

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

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

## 外掛說明

Archive your post types, also possible via cron; but only active via var inside 
the php-file.
 Use the shortcode [archive] to list all posts from Archive with status
publish to a page or post. The shortcode can use different params and use the follow
defaults.

    ```
    'count'         => -1, // count or -1 for all posts
    'category'      => '', // Show posts associated with certain categories.
    'tag'           => '', // Show posts associated with certain tags.
    'post_status'   => 'publish', // status or all for all posts
    'echo'          => 'true', // echo or give an array for use external
    'return_markup' => 'ul', // markup before echo title, content
    'title_markup'  => 'li', // markup before item
    'content'       => 'false', // view also content?
    'debug'         => 'false' // debug mor vor view an array
    ```

An example for use shortcode with params: `[archive count="10" content="true"]`

Also you can change the parameters to create the custom post type of the Archiv 
via the filter hook `archive_post_type_arguments`.

**Crafted by [Inpsyde](http://inpsyde.com) · Engineering the web since 2006.**

## 螢幕擷圖

[⌊Possibility to archive on posts, WP 4.2-alpha⌉⌊Possibility to archive on posts,
WP 4.2-alpha⌉[

Possibility to archive on posts, WP 4.2-alpha

[⌊Possibility to archive on posts, WP 3*⌉⌊Possibility to archive on posts, WP 3*⌉[

Possibility to archive on posts, WP 3*

[⌊In Archive, also possible to restore, WP 3*⌉⌊In Archive, also possible to restore,
WP 3*⌉[

In Archive, also possible to restore, WP 3*

## 安裝方式

#### Requirements

 * WordPress version 3.0 and later (tested at 4.2-alpha)
 * PHP 5.3

#### Installation

 1. Unpack the download-package
 2. Upload the folder and all folder and files includes this to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Now you find a link on all post types for archive the item

#### Licence

Good news, this plugin is free for everyone! Since it’s released under the GPL3+,
you can use it free of charge on your personal or commercial blog.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Frank Bueltge ](https://profiles.wordpress.org/bueltge/)
 *   [ Syde GmbH (formerly Inpsyde) ](https://profiles.wordpress.org/inpsyde/)

〈Archive〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/archive/contributors)
為這個外掛做出的貢獻。

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

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

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

## 變更記錄

#### 1.0.2 (2015-04-06)

 * Fix for activation and 3 characters of unexpected output
 * Small sanitation enhancements

#### 1.0.1 (2015-03-12)

 * Fix activate, deactivate values for all new capabilities on custom post type;
   Result was an bug to see the menu item
 * Fix value on register post type
 * Code maintenance

#### 1.0.0 (2015-01-18)

 * Remove custom function to check for right post type, fixes error notice since
   WP 4.0.
 * Remove custom css, switch to Dashicon.
 * Enhance Shortcode parameters with `category` and `tag`.
 * Add filter hook `archive_post_type_arguments` to change default parameters on
   create custom post type archiv.
 * Code inspections, simplify post type and screen checks.

#### 0.0.5

 * Fix php notices

#### 0.0.4

 * add shortcode to list on frontend
 * add function to add all items to wp query, set only via var in php file

#### 0.0.3

 * small fixes on language file for better read.
 * cron on default inactive

#### 0.0.2

 * first release on wp.org

#### 0.0.1

 * Release first version

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **6 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.7.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/archive/) 及 [German](https://de.wordpress.org/plugins/archive/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/archive)
 * 標籤:
 * [archive](https://tw.wordpress.org/plugins/tags/archive/)[custom post type](https://tw.wordpress.org/plugins/tags/custom-post-type/)
   [post](https://tw.wordpress.org/plugins/tags/post/)
 *  [進階檢視](https://tw.wordpress.org/plugins/archive/advanced/)

## 評分

 2.3 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/archive/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/archive/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/archive/reviews/?filter=3)
 *  [  1 個 2 星使用者評論     ](https://wordpress.org/support/plugin/archive/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/archive/reviews/?filter=1)

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

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

## 參與者

 *   [ Frank Bueltge ](https://profiles.wordpress.org/bueltge/)
 *   [ Syde GmbH (formerly Inpsyde) ](https://profiles.wordpress.org/inpsyde/)

## 技術支援

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

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