Posted: 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 |
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 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 |
|
|
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. 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) |
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 |
|
|
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 |
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. |
|
|
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.