Custom Query for blog categories
-
Hi there,
I’m building a site for a client and using the Visual Portfolio to aggregate blog posts on respective pages by content: food, fitness, mindfulness, etc.
I already used the plugin to make a homepage that aggregates all posts and it is beautiful!!I have blog categories created for her with slugs such as “food-posts.” I went to make a Portfolio Layout for each page and updated the sample custom query in your documentation like this to grab all posts under “food-posts”:
post_type=post&tax_query[0][taxonomy]=post_category&tax_query[0][field]=slug&tax_query[0][terms]=food-posts&order=ASC
But it is returning nothing. Am I missing something?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Query for blog categories’ is closed to new replies.