內容簡介
透過「自訂頁面選單」管理面板可以設定要包含的頁面,該面板在頁面編輯螢幕上 (請見截圖)。
此小工具允許您選擇是否在連結旁顯示該頁面的精選圖片。(建議使用圖示大小的圖片。)
在頁面編輯螢幕上,也可以自訂該特定頁面的標題。如果該頁面出現在使用該外掛程式所建立的任一選單中,將使用此標題。
此選單可透過 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/
外掛標籤
開發者團隊
原文外掛簡介
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/
