Problem:
A custom shortcode is used to display an estimated read time for content in a custom field, but breaks inside conditional shortcodes.
Solution:
Rewriting the custom shortcode appears to fix the issue.
The updated code and an example of how to use it is shown below: https://toolset.com/forums/topic/custom-shortcode-not-working-inside-conditional-output/#post-1264961
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Dieses Thema enthält 2 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von vor 5 Jahren, 9 Monaten.
Assistiert von: Nigel.