Support

Home Forums Event Espresso Premium Formatting Event Excerpt

Formatting Event Excerpt

Posted: March 24, 2015 at 5:04 pm

Viewing 5 reply threads


pvelte

March 24, 2015 at 5:04 pm

I use the TinyMCE Advanced plugin on my client’s site to keep WordPress from removing < p> and </br> tags (paragraph and line breaks). And it works great throughout the site. But these tags are being stripped from my Event Espresso excerpts. Is there a way to code paragraph breaks and line returns in the Event excerpts? Appreciate any solutions!


Dean

March 25, 2015 at 6:32 am

Hi,

The excerpts will strip HTML, just use Enter to create a new line break. The code will format them as paragraphs for you.


pvelte

March 25, 2015 at 9:12 am

I’ve tried using enter and the text just runs together. No paragraphs at all. Is there anything else that might work?


Josh

  • Support Staff

March 26, 2015 at 7:47 am

Hi there,

Can you let me know which version of Event Espresso you are using? Along with that, it will help to know the name of the WordPress theme. This will help us investigate.


pvelte

March 26, 2015 at 9:16 am

Thank you. The is running 4.6.17p. The excerpt is displayed using the Event Espresso Upcoming Events widget. Here is a link to the excerpt display on the site: http://icfcolorado.org.


Josh

  • Support Staff

March 26, 2015 at 5:05 pm

Hi there,

The reason the tags are stripped from the widget’s excerpt is because if the excerpt gets cut off at x number of characters, it could potentially end up breaking the html on the page. For example, if the excerpt ends at the middle of <br> tag, further html on the page might not render correctly.

There may be a way to load in a non-html tag stripping version of a custom widget (by adding a custom plugin that loads in the custom widget instead of the standard widget). I’ll need some more time to see if that will work.

Viewing 5 reply threads

The support post ‘Formatting Event Excerpt’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso