Events Made Easy › Forums › Generic › HTML Tags are not tranferred through Placeholders
- This topic has 6 replies, 2 voices, and was last updated 5 years, 3 months ago by Anonymous.
-
AuthorPosts
-
Wed 7 Aug 2019 at 17:56 #60183AnonymousInactive
I have a problem that wherever i set the #_NOTES or #_EVENTDETAILS the text is not transferred with proper HTML as inserted in the Backend Event-Edit
For Example: i have a event “Klavier x 2”
in the Backend I inserted the Text as HTML:
Dario Novielli aus Italien und Elias Opferkuch aus Lübeck spielen virtuose Werke für zwei Klaviere. <h4>Werke von</h4> <ul> <li>C. Saint-Saëns</li> <li>F. Liszt</li> <li>M. Ravel</li> <li>S. Rachmaninov</li> </ul> <em>vvk 15,- €* / erm. 7,- €* ak 16,50 € / erm. 8,50 €</em>
The Frontend-eventpage “Klavier x 2” is defined in the settings to
<!-- wp:button {"backgroundColor":"vivid-red","align":"right"} --> <div class="wp-block-button alignright"><a class="wp-block-button__link has-background has-vivid-red-background-color" href="#_ATT{TICKETLINK}">Tickets</a></div> <!-- /wp:button --> <br /> #_STARTDATE - #_STARTTIME Uhr, #_LOCATIONNAME <br /> #_EVENTDETAILS <br /><br />#_LOCATIONNAME<br />#_ADDRESS<br /> #_ZIP #_CITY<br /><br /> #_MAP
Am I missing something? It worked for a few minutes partially, now only some
<h2>
are rendered.
In all Browsers the Glyphs are only marked as#text
with no HTML-Tags. How can i transfer these from the Edit Event?
Please help 🙂
ThanksWed 7 Aug 2019 at 21:32 #60184FrankyKeymasterNone of your settings mention a h2 anywhere, so let’s start from the beginning: in what setting did you enter your html? And also, there is no “Frontend-eventpage” setting, so which setting are you talking about?
Wed 7 Aug 2019 at 22:00 #60185AnonymousInactiveIm Sorry if the Original Post was confusing:
I have created a event example “klavier x2” and inserted a description text. This Event-Description contains html-tags like
<ul>
<li>
,<h4>
and<em>
as shown in the first Codesnippet in OP.In the “Settings->Events->Format: Standard Single Event” i redefined how the eventpage should look like unsing the #_NOTES Placeholder. (Second Codesnippet)
When i visit the actual eventpage “frontend” the html-tags won’t get passed with the placeholder. My and other browser output everything as plain text, only some
<h4>
(not<h2>
, sorry!)get rendered randomly.Does this help understanding my problem? Sorry for my english, if my grammar is misleading.
Wed 7 Aug 2019 at 22:32 #60186FrankyKeymasterWell, I visited https://ponte-ulm.com/programm/klavier-x2/ and the whole page seems to be exactly as you want it, including your h4/ul/em tags and the map and everything. So I’m a bit unsure as to what is not working.
Wed 7 Aug 2019 at 23:18 #60187AnonymousInactiveEven in different browsers and in browsertesting websites it doesnt look right.
I thought the EME-Plugin wasnt working. That you get<em>
and<ul>
tags is more confusing, because the page does not appear styled as a list. when i look at the HTMLcode that gets displayed in my browser i dont get any list tags:<div> <br> 22. September 2019 - 19:00 Uhr, Kornhaus Ulm <br><br> <p>Dario Novielli aus Italien und Elias Opferkuch aus Lübeck spielen virtuose Werke für zwei Klaviere.</p> <h4>Werke von</h4> C. Saint-Saëns<br> F. Liszt<br> M. Ravel<br> S. Rachmaninov<br> vvk 15,- €* / erm. 7,- €*<br> ak 16,50 € / erm. 8,50 € <br> <br> <a href="https://ponte-ulm.com/orte/kornhaus-ulm/">Kornhaus Ulm</a><br> Kornhausplatz 1<br> 89073 Ulm<br> <br>
Wed 7 Aug 2019 at 23:51 #60188FrankyKeymasterOk, I was wrong: the text is appearing fine, but indeed not with your html-defined tags.
But that’s not EME’s doing. I’m guessing that in your case wordpress is stripping out unwanted tags. I have no idea why ul/li/… tags would be unwanted in your case, maybe the user doesn’t have a right to post html content or so but wordpress filters out not-allowed tags.
You can add extra html tags in the EME settings, section “Other”, setting “Extra html tags”.Thu 8 Aug 2019 at 08:53 #60189AnonymousInactiveI totally missed this setting! Thank you very much, this helped.
After insertingul, li, em,
everything gets displayed as it should.
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.