• Resolved wpress2010

    (@wpress2010)


    I know how to limit the fields Pods can return with a conditional statement such as this:

    [pods name=”apartment2023″ where=”some.field=’foo'” template=”aptlistAV” shortcodes=1]

    But if I want to limit what is returned on the basis of an existing Pods Yes/No field, I tried this:

    [pods name=”apartment2023″ where=”availability=1″ template=”aptlistAV” shortcodes=1]

    I also tried it with this: where=”availability=’1′” as well as with ‘Yes’

    I cannot seem to figure out how to specify the conditional status of the field called “availability”, which is a Yes/No field. Both of the things I tried above return nothing at all. The correct field name is “availability” and some Pods records have it set to Yes – I checked.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Syntax for conditional Pods call on page?’ is closed to new replies.