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

TOPIC: Removing/Hiding description using Shortcode

Removing/Hiding description using Shortcode 4 months 4 weeks ago #1304

  • Zarrion Walker
  • Zarrion Walker's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
Hi there,
Is there a way to hide the short excerpt description of events when using the shortcode. I've had a look at hiding it with CSS using 'display: none' but can't seem to find the right bit it's linked to in order to keep everything else displaying.

Also is there a way to change 'Read More' button text to 'View Event'?

Many thanks.
Z
The administrator has disabled public write access.

Removing/Hiding description using Shortcode 4 months 4 weeks ago #1305

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 265
  • Thank you received: 56
  • Karma: 14
There is not any setting or short code attribute at the moment to hide the description. Unfortunately, our current version doesn't add any special CSS class name in the description element to hide even using CSS.

As an immediate solution, you can just edit our template files and remove the description, change the "Read More" button text or do whatever you need.

The files you will need to edit are,

/wp-content/plugins/another-events-calendar/public/partials/events/aec-public-events-blog-display.php
/wp-content/plugins/another-events-calendar/public/partials/events/aec-public-events-grid-display.php
/wp-content/plugins/another-events-calendar/public/partials/events/aec-public-events-map-display.php
/wp-content/plugins/another-events-calendar/public/partials/events/aec-public-events-table-display.php
Last Edit: 4 months 4 weeks ago by Super User.
The administrator has disabled public write access.
Time to create page: 0.117 seconds