Problem:
When using HTML Conditionals with Toolset, on the front end we see unexpected output.
Sometimes even the output is different each time we load the page.
When removing parts of the content that is wrapped in the HTML Conditional, the issue suddenly disappears, but it does not seem related to any content type at all.
Solution:
Probably the issue is related to this erratum:
https://toolset.com/errata/shortcodes-in-conditionally-displayed-content-may-not-be-executed-on-the-front-end/
Try to split the HTML conditional in several chunks.
So if one HTML Conditional says "if 1 eq 1", and displays content based on that condition, create 2 or 3 or more exact same conditionals and split the conditionally shown content into those new HTML conditionals.
If then it works definitely the erratum https://toolset.com/errata/shortcodes-in-conditionally-displayed-content-may-not-be-executed-on-the-front-end/ is the cause of the issue.
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 10 replies, has 2 voices.
Last updated by shawnW-3 4 years, 1 month ago.
Assisted by: Beda.