Reverse the order of pages in page widget Resolved Requested: 3 years and 10 months ago Is it possible to reverse sort by date (the most recent – at the top)?
OnPoint Plugins 3 years and 10 months ago Hi Igor, This may be accomplished by adding the following filter to your active theme’s functions.php file. <?php add_filter( 'advanced_sidebar_menu_page_order', function () { return 'DESC'; } ); Have a great night!
Igor Rogov 3 years and 2 months ago This function was no longer operational a few days ago. So now it is impossible to reverse sort by date, and the most recent one is at the bottom. Do not change anything by turning the function on or off.
OnPoint Plugins 3 years and 2 months ago Hi Igor, Some of the very old filter names have changed in Version 8. Following the migration documentation, you filter is now: <?php add_filter( 'advanced-sidebar-menu/menus/page/order', function () { return 'DESC'; } ); Have a great day!
Hi Igor,
This may be accomplished by adding the following filter to your active theme’s
functions.php
file.Have a great night!
Thanks!
This function was no longer operational a few days ago. So now it is impossible to reverse sort by date, and the most recent one is at the bottom.
Do not change anything by turning the function on or off.
Hi Igor,
Some of the very old filter names have changed in Version 8.
Following the migration documentation, you filter is now:
Have a great day!