[WordPress] 外掛分享: Custom Page Menus

首頁外掛目錄 › Custom Page Menus
90+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
5440 天前
最後更新
問題解決
WordPress 3.0+ v1.0 上架:2011-04-26

內容簡介

透過「自訂頁面選單」管理面板可以設定要包含的頁面,該面板在頁面編輯螢幕上 (請見截圖)。

此小工具允許您選擇是否在連結旁顯示該頁面的精選圖片。(建議使用圖示大小的圖片。)

在頁面編輯螢幕上,也可以自訂該特定頁面的標題。如果該頁面出現在使用該外掛程式所建立的任一選單中,將使用此標題。

此選單可透過 Custom Page Menus 小工具新增到任何動態側邊欄,或透過自訂範本標籤嵌入佈景主題:

cpMenu()

$args = array(
‘show_date’ => ,
‘date_format’ => get_option(‘date_format’),
‘child_of’ => 0,
‘exclude’ => ,
‘title_li’ => __(‘頁面’),
‘echo’ => 1,
‘authors’ => ,
‘sort_column’ => ‘menu_order, post_title’,
‘link_before’ => ,
‘link_after’ => ,
‘walker’ => );

範例使用方式:http://catn.com/tech/data-centre/

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Page Menus」→ 直接安裝(推薦)

原文外掛簡介

The included pages can be defined using the ‘Custom Page Menus’ admin panel on the page-edit screen ( see screenshots ).
The widget allows you to select whether to display the page’s featured image next to the link. (I would recommend using icon sized images for this feature)
On the page-edit screen a custom title for that specific page can also be defined. This title will be used should that page appear anywhere on one of the menus created with the plugin.
The menu can be added to any dynamic sidebar using the Custom Page Menus widget or alternatively coded into themes using the custom template tag:
cpMenu()
$args = array(
‘show_date’ => ,
‘date_format’ => get_option(‘date_format’),
‘child_of’ => 0,
‘exclude’ => ,
‘title_li’ => __(‘Pages’),
‘echo’ => 1,
‘authors’ => ,
‘sort_column’ => ‘menu_order, post_title’,
‘link_before’ => ,
‘link_after’ => ,
‘walker’ => );
Example Usage: http://catn.com/tech/data-centre/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon