How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
So this is the way I eventually achieved this. I put the following code into my functions.php (actually into the functions.php of my child theme to keep it safe from updates) It has just one change to the original code from the link in the question thanks to @birgire. /** * auto_child_page_menu * * class … Read more