Custom fields query in url
-
Hello
i want to filter my posts by custom fields, i know how to do that with new query, but i want to filter posts by URL for example:
https://localhost/peymanreview/?filters=entertainment&cat=2
this URL display all post that have taxonomy entertainment and
in category 2 (this work great with default WordPress loop).
i want to display in this format all posts that have custom fields color=red ( key=color, value=red ). something like this:
https://localhost/peymanreview/?filters=entertainment&cat=2&color=red
- The topic ‘Custom fields query in url’ is closed to new replies.