该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Local Nav

描述

This plugin will allow you to add a local navigation to your widget areas.
You will need to have your pages organized in a hierarchical manner for this to work.
This does not display on post pages or your front page.
Please not this includes no css as of now, you will need to do this yourself
**Please make sure to use the class name in the admin, this will be added to your

<

nav class-“”> to allow for styling **

Arbitrary section

安装

  1. Upload local-nav.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the local nav widget into the area you wish to see your local menu.
  4. Setup options including depth and class name.
  5. Organize your pages appropriately.

常见问题

What is the depth

(integer) This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by wp_list_pages. The default value is 0 (display all pages, including all sub-pages).

* 0 (default) Displays pages at any depth and arranges them hierarchically in nested lists
* -1 Displays pages at any depth and arranges them in a single, flat list
* 1 Displays top-level Pages only
* 2, 3 … Displays Pages to the given depth

评价

此插件暂无评价。

贡献者及开发者

「Local Nav」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Local Nav」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志