Add new button next to Google and ical buttons.

Home Forums Calendar Products Events Calendar PRO Add new button next to Google and ical buttons.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #941602
    Phillip
    Participant

    Hi, how do I add a button with a custom link next to the google and ical buttons on event details page? Is this possible? Thanks!

    #941647
    Geoff
    Member

    Hello there, Phillip! Thanks for getting in touch and welcome to the forums. We hope you’re enjoying the plugins so far. 🙂

    One of the nice features of plugin is the ability to customize any template by overriding it in your theme. If you haven’t already checked it out, I’d highly suggest reading our Themer’s Guide for a thorough overview of how template overrides work.

    In this case, it sounds like you want to customize the the single-event.php template. To do this:

    • Make a copy of the file (it’s located at /plugins/the-events-calendar/views/single-event.php)
    • Make a new folder in your theme directory called tribe-events
    • Drop the copied file in that folder

    Now that the template is in your theme files, you can customize it to suit your needs. The buttons are added on Line 63:

    <?php do_action( 'tribe_events_single_event_after_the_content' ) ?>

    (BTW, another way to add your content would be to hook into that function.)

    Please let me know if you have any follow-up questions as you customize the template.

    Cheers!
    Geoff

    #943948
    Geoff
    Member

    Hey there, Phillip! Just checking in to see if you had any follow-up questions here or are good to go–please let me know. 🙂

    Geoff

    #946616
    Geoff
    Member

    Hello Phillip! This thread’s been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to hit us up with a new thread if any other questions pop up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add new button next to Google and ical buttons.’ is closed to new replies.