开发者

Hierarchical Wordpress page nav with all permalinks in the root

开发者 https://www.devze.com 2022-12-14 06:07 出处:网络
Is there a way to have a hierarchical nav for Wordpr开发者_开发知识库ess static pages without having the permalinks appear like they\'re in folders? I.e., I want nav structured like this:

Is there a way to have a hierarchical nav for Wordpr开发者_开发知识库ess static pages without having the permalinks appear like they're in folders? I.e., I want nav structured like this:

+ Home
+ About
|- Me
|- My Dog

...with permalinks like these: /home, /about, /me, /my-dog. The only way I can find to set up navigation like this through Wordpress is to make the secondary pages children of the page above them, but this makes the permalinks look like this: /about/me, /about/my-dog

Is there any way (with a plugin or otherwise) to get all of the page permalinks linked from the root?


Wordpress 3.0 has a built-in menu creator. you can customize the layout of your navigation regardless of how the pages are structured in the "Pages" section.

To solve your issue, have all pages be root pages and then rearrange them using the menu creator.

0

精彩评论

暂无评论...
验证码 换一张
取 消