The included pages can be defined using the ‘Custom Page Menus’ admin panel on the page-edit screen ( see screenshots ).
可以使用页面编辑屏幕上的“自定义页面菜单”管理面板定义包含的页面(请参见屏幕截图)。 p>
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)
(我建议为此功能使用图标大小的图像) p>
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.
如果该页面出现在使用插件创建的菜单之一上的任何位置,则将使用此标题。 p>
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:
可以使用“自定义页面菜单”小部件将菜单添加到任何动态侧栏中,或者使用自定义模板标签将其编码为主题: p>
cpMenu()
cpMenu() p>
$args = array(
$ args = array(
‘show_date’ => ,
‘show_date’=>,
‘date_format’ => get_option(‘date_format’),
‘date_format’=> get_option(‘date_format’),
‘child_of’ => 0,
‘child_of’=> 0,
‘exclude’ => ,
‘排除’=>,
‘title_li’ => __(‘Pages’),
‘title_li’=> __(‘Pages’),
‘echo’ => 1,
‘echo’=> 1,
‘authors’ => ,
‘作者’=>,
‘sort_column’ => ‘menu_order, post_title’,
‘sort_column’=>‘menu_order,post_title’,
‘link_before’ => ,
‘link_before’=>,
‘link_after’ => ,
‘link_after’=>,
‘walker’ => );
‘walker’=>);
p>
Example Usage: http://catn.com/tech/data-centre/
用法示例: http://catn.com/tech/data-centre/ em> p>