Remove extra meta details and organizer info

Home Forums Calendar Products Events Calendar PRO Remove extra meta details and organizer info

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #935238
    Carl
    Participant

    Hi there,

    I’m creating a training course website for my client and they would like to remove the details and organizer box on the front end of the site as the date of the event is already underneath the title. Is there a way to remove this from the front end, but they would still like to keep the venue info. An example of a page can be found here: http://www.bmarqtraining.co.uk/courses/revit-architecture-essentials-london-waterloo/

    Thank you for your help

    #935252
    Geoff
    Member

    Hello Carl–welcome back! 🙂

    Good question. Yes, this is definitely possible by customizing the meta.php template. You’ll want to check out our Themer’s Guide for a thorough overview of how overrides work, but in short:

    • Make a copy of the meta.php file (located in /plugins/the-events-calendar/views/modules)
    • Make a new folder in your theme directory called tribe-events
    • Make a new folder in that one called modules
    • Drop the copied file in that folder

    Now that the template is in your theme files, you can customize it to suit your needs. In this case, removing Lines 27-28 and Lines 41-44 should do the trick.

    Will this work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #935731
    Carl
    Participant

    Hi Geoff,

    I’ve been trying to find the folder for this but can’t seem to find it. Do I need to go into FTP to find it?

    Thanks

    #936018
    Geoff
    Member

    Yes, FTP is a good way to go to get that file. Sorry if I was unclear. 🙂

    #936099
    Carl
    Participant

    Just double checking would it be:

    // Always include the main event details in this first section
    tribe_get_template_part( ‘modules/meta/details’ );

    $set_venue_apart = true;
    }

    // Include organizer meta if appropriate

    #936150
    Geoff
    Member

    Thanks for checking! The second part to remove would actually be Lines 44-47:

    // Include organizer meta if appropriate
    if ( tribe_has_organizer() ) {
    tribe_get_template_part( 'modules/meta/organizer' );
    }

    Cheers!
    Geoff

    #936157
    Carl
    Participant

    Thanks! This worked a treat. I really appreciate your assistance as I’m not very familiar with php!

    #936174
    Geoff
    Member

    My pleasure! I’m so glad that did the trick and got you what you’re looking for–thanks for following up and letting me know.

    I’ll go ahead and close this thread, but please feel free to open a new one if anything else pops up.

    By the way, if you haven’t already done so, we’d love to hear your thoughts on the plugin on our review page. 🙂

    Cheers!
    Geoff

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Remove extra meta details and organizer info’ is closed to new replies.