3

Within the eateries tag, is there a peramiter that equals status="any" that will pull all entries no matter the status (including 'closed')?

I thought status="not none" worked, but it's not...

1
  • You can use the pipe glyph to indicate multiple statuses... status="open|closed|etc"
    – jrothafer
    Oct 12, 2015 at 6:18

3 Answers 3

2

Something like status="not fakestatus" will work.

0

If you want to include "closed" entries, you'll need to specifically include that status in your channel_entries call — from the Docs: "Note that closed status entries will not be included in the results when using “not” regardless of whether it is in the piped list."

Maybe try status="closed|not closed" as odd as that may seem. If that doesn't work, you may have to include all of the statuses that you want in the piped list.

0

status="closed|open"

https://docs.expressionengine.com/latest/channel/channel_entries.html#status

Hope that helps

1
  • That only covers those 2 statuses, not "any" status.
    – edward
    Mar 18 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.