Problem:
How to display conditional button
Solution:
you can use conditional shortcode [wpv-conditional] to display conditional output.
You have two options - either you should use custom shortcode that returns true or false based on your number of posts count condition or you can return total number of posts counts as per your conditional criteria and return count and with [wpv-conditional] shortcode use the custom shortcode.
You can find proposed solution, in this case, with the following reply
https://toolset.com/forums/topic/conditional-button/#post-746693
Relevant Documentation:
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 7 months ago.
Assisted by: Minesh.