we would like to know, How to create Vertical Navigation Menu in Wordpress. I have created the Simple Menu in wordpress. We want to implement this structure in Menu.
CategoryName(without hyperlink) echo Posts on this category(With URL) SubcategoryName(URL using #) echo Posts on this category(With URL)
please help me to resolve this problem.
Thanks
ROD
You can use <?php wp_list_categories( $args ); ?>
<?php wp_list_categories( $args ); ?>
codex or you have to do two loops, one to find all the categories and one the find the posts under each category.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.