Skip Navigation

[Resolved] Condition display depending of the day of the week

This thread is resolved. Here is a description of the problem and solution.

Problem:
I would like to define a conditional display based on a specific day of the week (ie : Sunday).

Solution:
You can use [wpv-conditional] shortcode to define a conditional display. Example code is here which may help you:
https://toolset.com/forums/topic/view-based-on-day-of-week/#post-435666

Relevant Documentation:
For more info:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Pat 7 years, 3 months ago.

Assisted by: Noman.

Author
Posts
#563065

Pat

Hello,

I would like to define a conditional display based on a specific day of the week (ie : Sunday).
How can I do that with Toolset,
Regards
Pat

#563121

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Pat,

Thank you for contacting Toolset support. You can use [wpv-conditional] shortcode to define a conditional display. For more info:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

Example code is here which may help you:
https://toolset.com/forums/topic/view-based-on-day-of-week/#post-435666

Thank you

#565759

Pat

Hi Noman,

That's fine
Thanks you
Pat