Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: html tags stripped in search results

html tags stripped in search results 3 years 3 months ago #1465

  • Pavel
  • Pavel's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Thank you received: 2
  • Karma: 0
For my use I usually only have a URL in the event description, so it's a bit inconvenient that it's made to plain text and one has to go through an extra click from the events table.
I solved this by modifying line 97 of public/partials/events/aec-public-events-table-display.php to read
<p class="aec-margin-top"><?php echo force_balance_tags( html_entity_decode( wp_trim_words( htmlentities( get_the_content() ), 20 ) ) ); ?></p>
Last Edit: 3 years 3 months ago by Super User.
The administrator has disabled public write access.
The following user(s) said Thank You: Super User
Time to create page: 0.103 seconds