Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End (RESOLVED) :: Isolating catagory children and filtering using meta values Re: (RESOLVED) :: Isolating catagory children and filtering using meta values

#74750
mrking
Member

Well, we can close this one.

Embarrassingly it was a missing ‘&’


query_posts(‘cat=12,13,52&meta_key=endDate&meta_compare=>=meta_value= ‘.$todaysDate.’ &orderby=meta_value&order=ASC’);

should have been

query_posts(‘cat=12,13,52&meta_key=endDate&meta_compare=>=&meta_value= ‘.$todaysDate.’ &orderby=meta_value&order=ASC’);



Three months on a single ‘&’ symbol

Hope this some how helps someone else. :)