Hi! Is there any way to make the default sidebars on pages that have sub-pages NOT alphabetical order?
Thanks!
Hi! Is there any way to make the default sidebars on pages that have sub-pages NOT alphabetical order?
Thanks!
You can use all parameters of the wp_list_pages function: http://codex.wordpress.org/Function_Reference/wp_list_pages
Search for following line in angular\includes\admin\register-widget-area.php and add your custom sort parameters (eg menu):
wp_list_pages('title_li=&depth=-1' );Thank you! Could you be more specific? This is what I have in your file:
case 2:
echo "<div class='widget widget_pages'>";
echo "<h3 class='widgettitle'>" . __('Pages','avia_framework') . "</h3>";
echo "
And this is the code that I found on the codex page that I would like:
I replaced what I thought I should but it is still not working. I just want the pages to be listed in the same order that they are in the menu. THANK YOU IN ADVANCE.
Hi wtflovelife
You might want to try using include= with the page id's in the order you want. If you've used the Menus option to make your custom menu, you could also try adding a custom menu widget to the sidebar instead.
You must log in to post.