现在想只取菜单名称和链接,新定义不同的样式。
回复讨论(解决方案)
$items = wp_get_nav_menu_items( $menu, $args );
http://www.dmeng.net/wp_get_nav_menu_items.html
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn