Change output of Venue and Organiser Description to include html
-
In an event listing, the main event content outputs nicely in html. In the other parts on the page and also on the individual venue or organiser posts (Organiser and Venue) it strips the php in the short description field as is using for example, on the content-single-event_listing-venue.php the following call –
<div class="wpem-venue-short-info"><?php printf( __('%s', 'wp-event-manager'), get_venue_description($venue_id) ); ?></div>
Only site admins will be adding data to the site, so it’s not a risk to have full html or even basic html though.
How do I override for both Organisers and Venues display to full html output; or how do I change the above code or do I need to add something to my functions file to allow html elements such as
<br>,<em>,<i>,<ul>,<ol>,<li>,<a>,<p>,<img>,<h3>,<hr>
etc.Thanks ??
- The topic ‘Change output of Venue and Organiser Description to include html’ is closed to new replies.