WordPress 中的自定义订单菜单
我使用 WordPress 菜单作为主导航,目前它按字母顺序显示导航。如何让它按照我在 WordPress 中排列的顺序显示菜单?
提前致谢!
I'm using WordPress Menus for my main navigation, at the moment it's displaying the navigation alphabetically. How can I get it to display my menus in the order I have them arranged in WordPress?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
注意: 您还可以添加帖子类别和如下图所示,将页面嵌套在一起。如果执行此操作,请确保您的模板已设置为菜单嵌套。
NOTE: You can also add post categories and nest pages within each other like shown in the image below. Make sure that your template is set up for menu nesting if you do this.
如果您正在讨论菜单中的页面,请转到编辑屏幕并查找页面属性(通常位于右下角)。您将看到“父级”、“模板”和订单。在顺序部分,您可以为帖子分配一个编号,它们将按照您定义的顺序显示。
希望这有帮助
If you are talking about pages in your menu, go to the editing screen and look for Page Attributes (typically on the lower right). You will see PARENT, TEMPLATE and ORDER. In the order section, you can assign a number to the post, and they will appear in the order you define.
Hope this helps
在菜单页面中,您应该能够将项目拖动到您想要的顺序。
In the menu page, you should just be able to drag the items into the order you want.