Reversed order by default? (+ fix suggestion)
-
Hi, I really like the simplicity of this Plugin’s UI!
But why does it reverse the default sorting so the oldest are on top?
In admin as well as in the frontend archive, before I even changed anything.All posts still have menu_order 0.
(If I deactivate the Plugin the default order is correct again.)For now I worked around this by clicking on the admin date column to sort as needed and then reposition one post back and forth to save all posts the new menu_order.
I think you could fix this behaviour, if you change your orderby query arg to
'orderby' => array( 'menu_order' => 'ASC', 'post_date' => 'DESC' )
(And remove the other ‘order’ => ‘ASC’ arg)
Haven’t tried it, though.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Reversed order by default? (+ fix suggestion)’ is closed to new replies.