Is it possible to sort pages in the loop using the admin’s order field (under page attributes)?
Leave a Reply
You must be logged in to post a comment.
Is it possible to sort pages in the loop using the admin’s order field (under page attributes)?
You must be logged in to post a comment.
Yes, use the
orderby
andorder
clause in your query posts.See: WP_Query#Order for reference