[英]How to display current manu on wordpress page display parent and sub-menu fo on sidebar
I have a main navigation and all parents have children. 我有一个主要的导航,所有父母都有孩子。
Example: 例:
Parent Page A: 父页面A:
Parent Page B: 父页面B:
If we are click on Child A12, sidebar should looks like: 如果单击Child A12,则侧边栏应如下所示:
Parent Page A: 父页面A:
Thanks. 谢谢。
This is a simple CSS tweak! 这是一个简单的CSS调整! use firebug see the class being added to the child and sub-child menus and accordingly write the css!
使用firebug看到要添加到子菜单和子菜单的类,并相应地编写CSS!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.