How to add filter to remove labels?

Home Forums Calendar Products Events Calendar PRO How to add filter to remove labels?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #973607
    Toru
    Participant

    Hi, thank you for developing the nice plugin.

    I would like to remove some labels such as ‘Tags’,’Event Category:’, ‘Other’, and all their dl,dt,dd tags. I looked into the original code and found that the original codes related with them are not in views folder but in general.php.

    I figured out that I need to put add_filter and custom function code in functions.php by reading the article; https://theeventscalendar.com/support/forums/topic/where-to-edit-meta-output-and-labels/

    Would you tell me what code I should add in functions.php?

    Thanking you in advance,

    #973613
    Toru
    Participant

    Hi, I just found that I can remove ‘Others’, its dl,dt and dd tags by customizing events-calendar-pro/src/views/pro/modules/meta/additional-fields.php.

    I still don’t know how to remove some words and tags of tags and categories, so look forward to getting some help.

    Thank you,

    #973727
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins.

    To edit the event templates you want to follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Then look to edit the single event templates found in the core version of the plugin and not in pro.

    You will want to look in this directory to start:

    wp-content\plugins\the-events-calendar\src\views\single-event.php

    Then look in the modules directory to edit those templates as well.

    Let me know if you have any follow up questions.

    Thanks

    #986250
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add filter to remove labels?’ is closed to new replies.