php - Display posts from x cat and y tag -


What is Mailing Carriage X "and" Tag Y?

It is possible to read fairs, it seems that you can do this:

  query_posts ('tag = bread, baking');  

or

  query_posts ('cat = 2,6,17,38');  

... Is it possible to use both cat and tag together?

I am not a wordpress expert, but what I see from seeing that function is that You should be able to use this notation to query against both at the same time.

  query_posts ('tag = bread, baking & amp; cat = 2,6,17,38');  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -