wordpress中的导航栏中只显示一个级别 [英] Only one level appear in navbar in wordpress
本文介绍了wordpress中的导航栏中只显示一个级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用Bootstrap作为框架构建了一个WordPress主题。要以Bootstrap的方式显示Navbar,我使用以下nav walker:https://github.com/twittem/wp-bootstrap-navwalker
一切正常,除了它只显示第一级下拉菜单。关于如何解决此问题的任何想法?
感谢您的帮助!
我是什么尝试过:
我将此更改为'depth'=> 3但是不起作用
I built a WordPress theme using Bootstrap as framework. To display the Navbar the way Bootstrap does I use the following nav walker: https://github.com/twittem/wp-bootstrap-navwalker
Everything works fine, except it only shows the first level dropdown menu. Any ideas on how to fix this?
Thanks for your help!
What I have tried:
I changed this to 'depth' => 3 but is not work
推荐答案
bootstrap 3不支持多级下拉列表:(
bootstrap 3 does not support multi level dropdownlist :(
这篇关于wordpress中的导航栏中只显示一个级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文