Support

Home Forums Event Espresso Premium Display Venue details as WYSISYG

Display Venue details as WYSISYG

Posted: June 5, 2018 at 1:53 am


LarnieBee

June 5, 2018 at 1:53 am

I have some details that I would like to include in my Venue information. The trouble is that even though these details are entered into a WYSIWYG editor they display as block text on the single event page. There is also no featured image pulled through. Is there any way to alter this?

It’s a shame that I cannot have paragraph formatting for this section


Josh

  • Support Staff

June 5, 2018 at 8:39 am

Hi there,

I checked on this and normally the venue details will include all formatting when displayed on the event page. You can see an example of this on our demo site:

https://demoee.org/barnwoodworkshop/events/wood-stone/

What’s happening on your site may be the result of another plugin or the theme adding some filters on the_content where the filters strip away formatting tags. If you temporarily deactivate the other plugins and switch to a default theme does the formatting change?

With regards to the venue featured image, that’s something that can be altered by adding some PHP code to either the child theme’s functions.php file, or into a site-specific plugin. Here’s a link to some example code that adds the Venue featured image to the event page:

https://gist.github.com/joshfeck/2a32135aa2864d582deb547cc6db8081


LarnieBee

June 5, 2018 at 6:41 pm

Hey Josh, thanks so much for your reply. I have tunred off ALL plugins except EE4 and switched to 2017 and I am still getting unformatted text.
Screenshot here: http://fishability.wpengine.com/wp-content/uploads/2018/06/Screen-Shot-2018-06-06-at-8.40.39-am.png

Any idea what else this could be? I have got a customs functions plugin that your EE team put in as there was an issue with your maps not displaying and some layout issues… could that be it? (although I disabled this as well)


Josh

  • Support Staff

June 6, 2018 at 12:48 pm

It could also be WordPress core’s own filters that get applied to the content. In which case, you can go to your Venues editor, and change the post content editor mode to “Text” (if set to “Visual” mode). Then replace the venue’s post content with the following:

https://gist.github.com/joshfeck/6a57d3a2e36a3a3a6417d55acb57db45


LarnieBee

June 6, 2018 at 1:12 pm

Nope. Its a WYSIWYG editor. I have entered it like that in text editor already. If I change it to the same formatting in visual editor then I get this: http://fishability.wpengine.com/events/jetty-fishing/

I really need a solution. I don’t think this is wordpress, its EE4


Josh

  • Support Staff

June 6, 2018 at 2:30 pm

No, that is not what I meant. If you go into the text editor are there paragraph tags or no? You’ll need to remove the tags from the visual editor.


LarnieBee

June 6, 2018 at 6:40 pm

Oh my bad! I got up in the middle of the night when I heard your email to test and I may have been half asleep!

That’s the solution!! Thank you so so so much. I will just use proper HTML throughout. 🙂

The support post ‘Display Venue details as WYSISYG’ 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