Hi there,
The core plugin files are not directly editable, that’s only applied to the template files as documented at https://theeventscalendar.com/knowledgebase/customizing-template-files-2/.
The best way to customize default features is by using hooks and actions, and that’s documented at https://docs.theeventscalendar.com/
There are a couple of ways to tackle this. You could:
- Simply remove or hide the price ranges altogether with a combination of template customization (single-event.php) and CSS, and then create another function for that.
- Add a snippet in the functions.php of your child theme to change the following functions
- tribe_get_cost
- maybe_replace_cost_with_free( $cost ) (from the cost-utils.php file)
If you haven’t already done so, you might want to read our Themer’s guide to get a sense of how template customization works.
3. Use the “Say what?” plugin to change the “free” string on the “tribe-common” language file to any other word you prefer.
-
This reply was modified 2 years, 9 months ago by
Guga Alves.
-
This reply was modified 2 years, 9 months ago by
Guga Alves.
Hi Guga Alves ~
thank you for that detailed reply?
I would ideally like to edit the child theme editor file. I have limited experience doing this and wondered if you know if there is any support documentation about this? I tried searching on a few different terms, but didn’t find what I think I need.
Plugin Support
Darian
(@d0153)
Hi @wavewatcher
Thanks for your message. Unfortunately, we cannot provide support in this forum for premium users.
To ensure we can assist you effectively, kindly submit a Support Ticket through our Help Desk. Please include the URL of this thread for reference and tag me in the ticket.
Plugin Support
Darian
(@d0153)
Hi @wavewatcher
This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please submit a Support Ticket through our Help Desk if any other questions arise, and we’d be happy to help.