This topic created in 4342 days ago, the information mentioned may be changed or developed.
3 replies • 2014-12-23 12:24:12 +08:00
 |
|
<?php wp_nav_menu ( array( 'theme_location' => 'primary' ) ); ?> 调用这个函数看看
|
 |
|
在function添加自定义菜单功能 在你需要显示改菜单的地方填入1L的代码 至于hover效果 显示菜单之后再定义其中的css就好
|
 |
|
如果是修改默认的 HTML 结构, 那就用 wp_nav_menu 中的 walker 指定新的 Walker_Nav_Menu 继承类.
|