Outputting pods – conditionals?
-
I know I can specify how to output a Pod depending on a category:
<h2 class=”hch” style=”margin-bottom: 1.5em;”>Title here</h2>
<p>[pods name=”property” where=”category.name = ‘HB'” template=”HB For Sale” orderby=”post_date DESC” shortcodes=1]</p>Is there a way to add another category condition? Such as:
[pods name=”property” where=”category.name = ‘HB'” and where=”category.name = ‘other'” template=”HB For Sale” orderby=”post_date DESC” shortcodes=1]
TIA for your help!
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Outputting pods – conditionals?’ is closed to new replies.