0

Kinda confused on this.. hoping someone can help.

I have custom post type named "Providers" that I want to pull entries from that are tagged "highlighted". I enabled tag support on the custom post type and then tried using tag=highlighted and tag_id=15 in a new query but it's just showing the hello world post.

Here is the gist:

https://gist.github.com/3623768

0

Ahhh.. not sure why I didn't think to use tax_query. A friend figured it out. Gist is updated.

  • 2
    It's a best practice to post the code directly into SE rather than offload it. If the gist link changes, then this answer becomes completely irrelevant. :) – Brian Fegter Sep 6 '12 at 10:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.