[pods name=”apartment2023″ where=”availability=1″ template=”aptlistAV” shortcodes=1] If I remove the WHERE conditional, it returns all records just fine. I also tried using “availability=’1′” and “availability=’Yes'” None of these return anything at all. Syntax error?
The field is indeed called “availability” and there are records where that field is set to Yes with the checkbox. Oddly enough, in the Pod itself if I uncheck the Yes check box, I do not see a No with a check in it. In fact, there is no “no” checkbox to be seen at all.
Ideas? I have no trouble using the WHERE conditional to specify a category or some other field value like that.
]]>[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.
]]>I created a pods (name : campagne) with a ‘active’ field of type yes/no.
I created several instances of the pods with active yes or no.
Now, I want to display them using a template (name : Liste campagnes), and in two groups :
– a group of active
– a group of inactive
i’m using the following blocks. Unfortunately, they both display the list of all the pods instances, bypassing the yes/no field value. I tried with 1 and 0, ‘Yes’ and ‘No’, and ‘Oui’ and ‘Non’ as I’m french
What did I do wrong ?
[pods name=”campagne” template=”Liste campagnes” where=’active.meta_value = ‘1″‘ orderby=”DATE(date_campagne.meta_value) DESC” limit=”-1″]
[pods name=”campagne” template=”Liste campagnes” where=’active.meta_value = ‘0″‘ orderby=”DATE(date_campagne.meta_value) DESC” limit=”-1″]
]]>echo get_post_meta(get_the_ID(), 'kosten', true);
does not work.
I guess there’s no such feature (yet) but maybe someone can tell me the right approach with the least overall efford. Not that I want to complain, but to make chances on error as low as possible would be nice. Also the less code the better it would be right?
I hope someone can help me further
]]>Is the any way to set a image to each question page ?
Also, I want set a image for button, too.
Thanks
Alex
eg. Do you like ice cream? YES | NO
The user selects either yes or no for each question, and at the bottom of the form it totals the number of yes’s and no’s?
Hope that makes sense
Thx for the help!
Mike
]]>Can anyone suggest a plugin to do that? Or how I might go about it?
Thanks!
]]>