我想在垂直菜单中显示10个项目,单击按钮后,我想显示另一个项目。 这是我的代码:
wp_nav_menu(array(
'theme_location' => 'vertical-menu',
'depth' => 3,
'walker' => new WP_Bootstrap_Navwalker()
)); ?>
<!--It is my button-->
<div class="more_categories">More Categories</div>