Linux 软件免费装
Banner图

List Pages at Depth

开发者 husobj
更新时间 2019年11月5日 22:15
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 5.2
版权: GPLv2
版权网址: 版权信息

标签

widget navigation cms wp_list_pages breadcrumbs page parents

下载

1.0 1.1 1.2 1.3 1.3.1 1.4 1.5

详情介绍:

A more powerful version of wp_list_pages() which allows you to specify a start depth. This means you can easily display secondary and tertiary navigation seperately from the primary navigation on your site. The list_pages_at_depth function accepts all the same arguments as wp_list_pages, but has an additional argument called 'startdepth'. Set this to be 0 to display primary navigation, 1 for secondary navigation etc. If you wanted to display secondary navigation with indented tertiary navigation you can use this in conjunction with the depth argument - simply set startdepth to 1 and depth to 2. `<?php list_pages_at_depth( array( 'startdepth' => 1, 'depth' => 1 ) ); ?>` The plugin also includes a widget so you can easily add it to your site. You can contribute and submit bug issues on the plugin's GitHub page.

升级注意事项:

1.5 Use PHP 5 style constructors. 1.4 Sanitize widget fields when updating and add selected page classes.

更新日志:

1.5 1.4 1.3.1 1.3 1.2 1.1 1.0