Menu Close Menu
Menu
  • Features
  • Pricing
  • Documentation
  • Support
  • My Account

How to remove the link to the individual event page

How to remove the link to the individual event page

With The Events Calendar Shortcode plugin, to remove the link to the individual event from the title, you can add a small snippet of code to your theme’s functions.php or a functional plugin:

function ecs_remove_link( $content ) {
   return '';
}
add_filter( 'ecs_event_list_title_link_start', 'ecs_remove_links' );
add_filter( 'ecs_event_list_title_link_end', 'ecs_remove_links' );
The Events Calendar Shortcode Tutorials April 8, 2023

Published by Brian Hogg

Posts by Brian Hogg

Post navigation

Previous

How to add custom tags

Next

How to show related events from The Events Calendar

Event Calendar Newsletter is a WordPress plugin that lets you quickly create newsletters of your upcoming events.

Terms & Conditions
Privacy Policy

Company

  • About
  • Contact
  • Blog

Support

  • My Account
  • Documentation
  • FAQs
  • Refund Policy

© 2023 Event Calendar Newsletter