wp_list_pages sort order by top nav menu order and child of
Im trying to show a box on left sidebar with links of current page's sub menus. but order is not applying same as menu! whats the problem?
div class="sidebar-box"
div class="sidebar-box-title"
h4?php echo get_the_title($post-post_parent); ?/h4
/div
ul class="links"
?php wp_list_pages('sort_order=asctitle_li=sort_column=menu_orderdepth=1child_of='.$post-post_parent); ?
/ul
/div
DEMO: http://www.testhosting.co.uk/speedshealthcare/healthcare-supplies/care-home-pharmacy/
Topic wp-list-pages order Wordpress
Category Web