tinker123
Member
Posted 2 years ago #
Hi;
I would like to list the various pages and categories of a blog in something other than alphabetical order.
Do I have to get each page and category one at a time? If so, how?
Is there way I could make a custom order, say by giving each page a number in the database and having the links sort that way?
Thanks in advance
Steve
Not sure exactly where you want to use the custom order, but if it is in a query that you write (or can modify) you could assign a Custom Field to each post and use orderby=meta_value as shown in the Codex:Orderby Parameters. More complex sorts may require using query filters.
If you are talking about the lists in the supplied widgets, I do not know of an easy way to change that other than by supplied options.