Home › Forums › Calendar Products › Events Calendar PRO › How to add filter to remove labels?
- This topic has 3 replies, 3 voices, and was last updated 8 years, 8 months ago by Support Droid.
-
AuthorPosts
-
June 29, 2015 at 11:06 am #973607ToruParticipant
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,
June 29, 2015 at 11:31 am #973613ToruParticipantHi, 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,
June 29, 2015 at 5:52 pm #973727BrianKeymasterHi,
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
July 14, 2015 at 7:05 am #986250Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘How to add filter to remove labels?’ is closed to new replies.