Remove Event Tags from event detail page

Home Forums Calendar Products Events Calendar PRO Remove Event Tags from event detail page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1102955
    hdraye
    Participant

    Hi
    How can I Remove “Event Tags:” and tags eventually from event detail page please?

    regards

    Hani

    #1103295
    Hunter
    Moderator

    Hi Hani,

    Happy Friday and thanks for posting!

    You can remove event tags from display on single events via a template override as outlined in our Themer’s Guide. Look for details.php found in the-events-calendar/src/views/modules/meta/details. Copy the contents of that file and paste them into a new file and save it as details.php in your-theme/tribe-events/modules/meta.

    Once you’ve done that, delete or comment out line 142 from the new file you’ve just created:

    <?php echo tribe_meta_event_tags( sprintf( esc_html__( '%s Tags:', 'the-events-calendar' ), tribe_get_event_label_singular() ), ', ', false ) ?>

    Save that file and event tags should not be called/display on your single event pages. Let me know how it goes and enjoy your weekend!

    #1109144
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Event Tags from event detail page’ is closed to new replies.