Title: Dynamic Menu Item
Author: whatleycc
Published: <strong>2013 年 3 月 8 日</strong>
Last modified: 2014 年 2 月 1 日

---

搜尋外掛

![](https://ps.w.org/dynamic-menu-item/assets/banner-772x250.png?rev=799613)

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

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

# Dynamic Menu Item

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

[下載](https://downloads.wordpress.org/plugin/dynamic-menu-item.zip)

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

 [技術支援](https://wordpress.org/support/plugin/dynamic-menu-item/)

## 外掛說明

This plugin is meant to help you create “dynamic” menu items. This is ideal for 
situations where you want to have custom pages that appear at certain times of the
year or seasonal pages that need to change out every few months. Requires you use
the built in Appearance->Menu to setup your menu links and not simply default the
menu to all pages on your site. There are 2 types of dynamic menu items created,
each work in conjunction with the other.

Default :: This only requires a starting month to work. What this does is assumes
that all items within this section will be displayed without any gaps. These ideal
for seasons and will be displayed if there are no other dynamic posts.

Set Dates :: This is ideal for things like holdiays or specials that you may only
want to display for a set period of time (e.g., 1 day or a few weeks only, not the
whole month). These are displayed first and if none are active, the active Default
page of the period is selected instead.

## 螢幕擷圖

[⌊How the setup menu appears in the Admin panel⌉⌊How the setup menu appears in the
Admin panel⌉[

How the setup menu appears in the Admin panel

[⌊An example of the setup menu. *Note: You must have setup the pages prior to this
step.⌉⌊An example of the setup menu. *Note: You must have setup the pages prior 
to this step.⌉[

An example of the setup menu. *Note: You must have setup the pages prior to this
step.

## 安裝方式

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Setup Pages
 4.  a. Create a Default “Parent” page. This page will not be displayed but rather allows
        for you to “group” the pages into this category.
     b. Add one or more “Child” pages to this Parent page that will be pages which are
        to be displayed if nothing else is active.
     c. Create a Set Dates “Parent” page. This page will not be displayed but rather allows
        for you to “group” the pages into this category.
     d. Add one or more “Child” pages to this Parent page that will be pages which are
        to have set active dates to be displayed.
 5. Go to Apperance -> Dynamic Menu Item
 6.  a. Set the Parent pages for the two sections. Hit “Save”.
     b. Page will reappear with the corresponding Child pages now appearing. Set the start
        month for Default pages and start/end dates for Set Date pages.
     c. Hit “Save”.
 7. Position the menu item in your Menu
 8.  a. Go to Apperance -> Menus and create or display the appropriate menu you wish to
        update.
     b. Check off the “Dynamic Menu Item” box and click “Add to Menu”
     c. Move the “Dynamic Menu Item” to the position in the menu you’d like the dynamic
        item to appear.
     d. Hit “Save Menu”

## 常見問題集

#### What if I don’t set either the Default or Set Dates?

The program will simply ignore those options and you will not see any pages to set
dates for. In addition, your menu won’t display anything in the space that would
have been for this item.

#### How do I remove a page from this group?

You can remove a page from consideration in a number of ways: – Change the parent
of the page – Set the page to “Draft” – Remvoe any dates or months on the Dynami
Menu Item page

## 使用者評論

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

## 參與者及開發者

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

參與者

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

[將〈Dynamic Menu Item〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dynamic-menu-item)

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

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

## 變更記錄

#### 0.4

*Further refining of the calculations to account for year beginnings

#### 0.3

*Further refined the seasonal calculations so they react better to changing seasons.

#### 0.2

 * Fix seasonal issue where summer wasn’t updating correctly

#### 0.1

 * First release

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **12 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.7.41**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dynamic-menu-item/)
 * 標籤:
 * [appearance](https://tw.wordpress.org/plugins/tags/appearance/)[menu](https://tw.wordpress.org/plugins/tags/menu/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dynamic-menu-item/advanced/)

## 評分

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

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

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

## 參與者

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

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.creeksidecs.com/donation-page/)