Title: wpDirectory
Author: obus3000
Published: <strong>2009 年 12 月 20 日</strong>
Last modified: 2009 年 12 月 20 日

---

搜尋外掛

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

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

# wpDirectory

 由 [obus3000](https://profiles.wordpress.org/obus3000/) 開發

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

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

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

## 外掛說明

wpDirectory can show a structured list of categories on a page (home or any), easily
customizable via CSS and localized compatible. This plugin can also modify the admin
interface for posting articles or listings in the directory, for both contributors
and admins in order to gain efficiency when posting entries.

Features:

 * Category description in link title.
 * Show/Hide Subcategories
 * Show/Hide Amount of articles in parent and child categories.
 * Show/Hide empty categories.
 * Display categories on specified amount of colums with automatic reordering adjusting
   to user\’s resolution.
 * Use hierarchy for subcategories.
 * Exclude selected categories.

Special features:

 * `div` powered listing, so design can be easily modified using CSS,a s you need.
   The parent category is inserted in a `<div>` container to mark it out with CSS
   as a parent.
 * Parent category is showing amount of articles in subcategories. The character
   also include the number of articles in this parent category.
 * Display the specified amount of child categories (2nd level).
 * Exclude child categories articles from the parent categories archive pages.
 * You can add icons for parent categories using CSS.
 * User can access to article’s source code.

Future Features:

 * Ability to show all subcategories in listing powered by ajax.
 * Show domain stats and relevant information about domain (for link directory)
 * Integration with TDO miniforms

Admin interface options:

 * Can prevent the listing have more than one category
 * Show warning to author, if not selected any category or if selected more than
   one category.
 * Hide unnecessary blocks from the “Write/Edit Post” page, if this is not the site
   administrator. It is “Comments & Pings”, “Excerpt”, “Password Protect” and other
   blocks. I.e. actually there is only a form of adding the article and the button
   to send it to moderation.
 * Specific height of categories block on “Write/Edit Post” page.
 * Custom “Terms of item publication” on “Write/Edit Post” page.

### Version history

Version history and list of changes you can see [here](http://arielbustillos.com/wpdirectory-wordpress-plugin/#version-history).

## 安裝方式

 1. Copy the `wpdirectory` folder in WordPress plugins directory (`/wp-content/plugins/`).
 2. Copy the `categories.css` file in directory of your current THEME.
 3. Activate the plugin through admin interface.
 4. You can call the categories listing on any page throught this function:
 5.     ```
            <?php wp_directory(); ?>
        ```
    

Add the following code in the `index.php` (or another file) of your THEME:

    ```
        <?php if (function_exists('wp_directory')) wp_directory(); ?>
    ```

 1. Add the following code in the `style.css`:
 2.     ```
        @import 'categories.css';
        ```
    

Remember to add according permissions, so you can edit this file through the Theme
Editor

 1. Options are optmized, however you can customize them in in admin interface at the“
    Options -> wpDirectory” page.

The plugin also lets you to display the list with the links to categories RSS feeds.
To do this, you must:

 * Create a [new page template](https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates).
 * Add the following code:
 *     ```
       <?php $rssfeeds=true; ?>
       <?php if (function_exists('wp_directory')) wp_directory(); ?>
       ```
   
 * Create a new page in the admin interface and select the created template.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ obus3000 ](https://profiles.wordpress.org/obus3000/)

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

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

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

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **16 年前**
 *  啟用安裝數 **10+**
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wpdirectory/)
 * 標籤:
 * [articles](https://tw.wordpress.org/plugins/tags/articles/)[business](https://tw.wordpress.org/plugins/tags/business/)
   [categories](https://tw.wordpress.org/plugins/tags/categories/)[directory](https://tw.wordpress.org/plugins/tags/directory/)
   [list](https://tw.wordpress.org/plugins/tags/list/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wpdirectory/advanced/)

## 評分

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

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

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

## 參與者

 *   [ obus3000 ](https://profiles.wordpress.org/obus3000/)

## 技術支援

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

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