The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Conditionally Show Some Text

Labels

This Discussion is public

Notifications

Hello,

I am trying to display different texts in a view depending on the current day. For example, on Tuesdays, the view should say 'Terrific Tuesday'. I tried a lot of different ways like this but didn't work.

[if date format=l equals=Tuesday]Terrific Tuesday[/if]

Please help. Thanks.

Format is not a parameter of the conditional shortcode. You'll have to create your own hook or you'll have to use views with a filter that is something likeĀ [25 format='l'].

Discussion closed.