Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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

share|improve this answer
    
If you found the answer, then please put it here and mark it as accepted! –  Rutwick Gangurde Sep 6 '12 at 5:37
1  
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
    
Sorry guys, taken care of! Thanks Brian. I'll embed the code next time. –  BaltimoreDrew Sep 6 '12 at 18:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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