Filter WP_Query with custom field
-
Hello Mikko and others who read this,
I have been using Relevanssi almost in all my projects, but now for current project I need some functionality that I think is only achievable with premium version of Relevanssi, so I would love if you could just confirm that for me.
This is the code that is working right now that does not have any filtering using custom fields: http://pastebin.com/KbeK3CsF
What I want is to filter $products query by some value of custom field called “product_is_preowned”.
So I have tried to do it like this http://pastebin.com/KpD342Tw the change is on line 22.
Is that possible with premium Relevanssi or maybe I can do it somehow with free version?
Thanks,
Miloš
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Filter WP_Query with custom field’ is closed to new replies.