Problem:
Conditional HTML I use on my site is producing unexpected output.
What can I do?
Solution:
First, confirm that the issue is really due to the HTML conditional.
Often, the content that should display is marlformatted, for example.
Try to output what you expect to see without any condition.
If that works, but it fails if put in a condition, then output something simple withing your HTML condition instead of what you expect. A simple "HERE I AM" string for example.
Does that show when you expect? If not, the HTML condition itself fails, due to maybe checking upon wrong content or being malformed on its own.
You can check the relevant DOC to fix that, or ask help from our support.
Relevant Documentation:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
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.
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 2 replies, has 2 voices.
Last updated by 5 years, 3 months ago.
Assisted by: Beda.