Support » Plugin: The Events Calendar » Add HTML before (and after) event content

  • janesmith8227

    (@janesmith8227)



    The “add HTML before (an after) event content” is adding the content to both the events page with the calendar and the individual event pages. How can I just add the content to only the events page with calendar and not the individual event page?
    Thanks!

Viewing 1 replies (of 1 total)
  • joinfof

    (@joinfof)

    Hello,

    The best way to do this would be a template override as explained in our Themer’s Guide. You’ll need to copy/paste the contents of /the-events-calendar/src/views/single-event.php into a blank file. Add your custom content and save with the following structure to avoid losing customizations when updating TEC: [your-theme]/tribe-events/single-event.php.

    Best of luck and thank you for choosing TEC. Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Add HTML before (and after) event content’ is closed to new replies.