Hello and my apologies for the late reply as I do not work on Mondays.
Since Friday, I approached our 2nd Tier with details and the UpdraftPlus backup and I am still waiting for his suggestions. I'll get back to you as soon as we have any news.
Hello,
Our 2nd Tier has found the cause of this issue related to HTML markup inside the term description. Check this screenshot hidden link
I tested this locally, and once we remove the HTML markup, the conditional shortcode works.
Please let me know if this works for you.
That does work, yes. I am concerned though, as text alignment is a very common function of any WYSIWYG editor. If another content administrator creates their own series line in the future and they apply text alignment to the description it will still disappear, correct? Let me know if I'm missing something, but I'd say this solves the immediate problem without fixing the bug.
I escalated this to our 2nd Tier and I'll get back to you when we have any feedback.
In the meantime, you can hook into terms creation/modification and strip any HTML tags from the description. Check the following pages:
- hidden link
- https://developer.wordpress.org/reference/hooks/create_term/
- https://developer.wordpress.org/reference/hooks/edit_term/
I remain at your disposal.