• Hello everybody,

    I have thousands of posts (custom post type ‘persons’), which have terms from two different custom taxonomies ‘birthday’ and ‘age’.

    I would like to display all posts from a term of the taxonomy ‘birthday’, for example of day ’11-03′, and order them by taxonomy ‘age’, to sort the posts (respectively persons) by ascending age.
    I’ve found a few code snippets to insert in the functions.php, but they use ‘meta_key’ and ‘meta_value’. But in my case I want to use a taxonomy for ordering.

    Is this possible?

    Thank you very much for your help in advance!
    Andreas

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order posts by using custom taxonomy’ is closed to new replies.