Hello Tollmanz,
Thanks for the reply. I’ll try to walk you through what I’m trying to do:
I’m building a photography site. Each photo is it’s own page in a hierarchical taxonomy. For example:
Cars
– – BMW
– – Ford
Speed
– – Fast
– – Slow
So a photo of a fast BMW will be in the ‘Cars’, ‘BMW’, ‘Speed’ and ‘Fast’ terms. I’d like to be able to order each page in each term. So when looking at the term page for ‘Fast’ I can set the order, and when looking at BMW I can set an order too etc.
That real life example is a little more messy. This is a term page for photos tagged with “luxurious”:
https://www.trevorpearson.com/dev/interest-filter/luxurious/
I’d like to be able to set the order that they appear (like menu_order).
Now, several of the same photos are also tagged with the term “interior” and are shown here:
https://www.trevorpearson.com/dev/interest-filter/auto-interiors/
So I’d like to be able to set an order for this term as well that was separate to the order set for ‘Luxurious’.
I’m not even sure if it’s possible. I think you’d have to create a custom-field for each page that then stores the term and the page order for that term in an array. My thoughts were something like this:
$key = term;
$value = order;
custom_order = array(
'BMW' => '3',
'Fast' => '20',
'Interior' => '7',
'Luxurious' => '12'
);
That way you have a page order stored for each term that is applied to the page. The problem would be that WordPress’s admin pages aren’t really setup to allow multiple page ordering, so I’m not sure how to deal with that. You wouldn’t want to have to enter in the order on each “Edit page” page, you’d want to tie it into some sort of drag-and-drop page order plugin that worked on term pages.