Add HTML before/after event content since 6.7 release
-
I’ve had a problem with The Events Calendar page not showing my site’s header and footer, related to the use of a child theme I created for 2024 (twentytwentyfour). To work around this issue, I used the Events->Display->Additional Content features “Add HTML before event content” and “Add HTML after event content“, in which I added HTML to display clickable images. In the input text box, I had HTML code that started with <a> anchor tags, and it worked as designed.
After the install of version 6.7, I went in to Events->Display->Additional Content to make a change to the “Add HTML to the after event content”. When I pressed SAVE CHANGES, the code in both the “before” and “after” input boxes disappears, and the content is blank.
Experimenting, I discovered that these input boxes only seem to accept plain text. When an HTML bracket “<” is in the input field, the whole input area gets cleared when SAVE CHANGES is applied. Now I cannot create a click link image on the event page to provide navigation back. I’ve tested the “Add Media” buttons, and the same thing happens — after selecting media, the input area is filled with the proper HTML to display the media, but when you press SAVE CHANGES, that code (and media) disappears.
If I enter plain text in those areas for Additional Content, the text is saved when I press SAVE CHANGES. It is when the left bracket is included in the input, sometimes the left bracket is removed, other times the entire input area disappears.
While the core issue is related to the missing header/footer, I’d be happy to see that the “Additional Content” allow me to enter HTML be fixed, as it seems like a code bug more than an issue with my child theme.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.