Home › Forums › Ticket Products › Event Tickets Plus › Replacing words – over-ride for single event
- This topic has 5 replies, 4 voices, and was last updated 9 years, 1 month ago by
Kathrine Fraser.
-
AuthorPosts
-
February 16, 2017 at 12:15 am #1238193
Kathrine Fraser
ParticipantHi,
I have used the code here to change some of the core language on our site:
However, we have a couple of upcoming events where I would like to change these words. Is there a way I can isolate events for change of language in functions.php?
Thanks
February 16, 2017 at 9:23 pm #1239536Hunter
ModeratorWithout dedicating too much time on the matter, which unfortunately for these requests I am a bit limited, I would start by trying to use the post_id as the criteria you use to isolate specific events for the changes you’re attempting to make.
I imagine this thought has already come to mind for you, but as previously mentioned I’m not permitted to spend much time on this sort of request so you’ll have to manage things from here. One last resource I can think of which might help is our Changing the word โeventsโ to something else tutorial.
Sorry I can’t be of more help in this instance! For what we are able to provide support for, please review our What support is provided for license holders? Knowledgebase article. If things get beyond your level of expertise, it might be best to hire a professional developer. A good starting point is our list of non-affiliated customizers, though there are tons of available avenues for finding a reputable developer.
Thanks and let me know how things work out!
Cheers ๐February 22, 2017 at 1:58 am #1243611Kathrine Fraser
ParticipantHi – I am trying a different approach to this, and would now like to try hiding the Cost line (both the dt label, and the actual value) for this single event post.
This hides the cost, but not the label “Cost” to the left of it.
#post-1341 .tribe-events-event-cost { display: none !important; }Are you able to assist in helping me to identify this element to hide?
Thanks
February 22, 2017 at 7:43 pm #1244267Hunter
ModeratorIt looks like that string of text doesn’t have an assigned CSS class, so I’d probably do a template override as explained in our Themer’s Guide.
Copy the contents of /the-events-calendar/src/views/modules/meta/details.php, paste them into a new file and save as [your-theme]tribe-events/modules/meta/details.php, then delete the “Cost:” text on line 123. Please review this Customizing WordPress #1 – How To Create A Child Theme by LevelUpTuts for a visual example of the process. Let me know how it works out ๐
March 16, 2017 at 9:35 am #1255316Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Replacing words – over-ride for single event’ is closed to new replies.
