{"id":11057273,"date":"2019-01-06T15:28:05","date_gmt":"2019-01-06T15:28:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/need-help-with-where-clause\/"},"modified":"2019-01-06T15:28:05","modified_gmt":"2019-01-06T15:28:05","slug":"need-help-with-where-clause","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/need-help-with-where-clause\/","title":{"rendered":"Need help with where clause"},"content":{"rendered":"<p>I am trying to use a pods shortcode that includes a where clause that queries a custom taxonomy field. <\/p>\n<p>The pod has the following fields title, image and portfolio category (portfolio_category is the taxonomy field). I have tried the following shortcode, but it is not working: <code>[pods name=&quot;portfolio_image&quot; limit=&quot;12&quot; where=&quot;portfolio_category.meta_value = &#039;Beauty&#039;&quot; pagination=&quot;true&quot; template=&quot;Portfolio&quot;][\/pods]<\/code><\/p>\n<p>It works fine without the where clause. <\/p>\n<p>Thank you for any suggestions.<\/p>\n","protected":false},"template":"","class_list":["post-11057273","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11057273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11057273\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11057273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}