Forums

How to query post by custom taxonomy value? (1 post)

  1. devotee
    Member
    Posted 1 year ago #

    Hey.

    I made a custom post type called "medarbetare" (co-workers) and in this custom post I add a post for every co worker, and then tag them with a custom taxonomy called "titel", where the value of titel is their title at our workplace. I want to loop these posts in under different headings on our about us page, but I cant get it to work. The query I´m using seems to give me all posts from this custom post type, with this custom taxonomy - but it ignores the value.

    I added my code to pastebin, this is what it looks like:
    http://pastebin.com/RzbWp8Th

    The code thats not working here is the one under the comment <!-- author-container-1 -->

    I´m a designer and not a coder really, so I cant really say whats wrong. I´m thinking it might have to do with there beeing multiple querys on the page, but shouldnt the reset query take care of that?

Topic Closed

This topic has been closed to new replies.

About this Topic