lundi 4 janvier 2016

How to use find_in_set in wp_query

I have 2 meta key key1 and key2, i am looking for a query for using both key here is my php query

$where = "keyone = 1 or FIND_IN_SET($id,  `keytwo` ) <>0";  

its worked fine with the mysql however i am trying to convert this concept into wp_query but i am not getting any results.

refrence guide from someone

this code also does not work

thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire