Home › Forums › Ticket Products › Community Tickets › What file does the text FREE get generated in this screen
- This topic has 4 replies, 3 voices, and was last updated 9 years, 6 months ago by
Jeff.
-
AuthorPosts
-
October 4, 2016 at 12:09 pm #1172434
Jeff
ParticipantThe bulk of the html page shown in the image is created with orders-rsvp.php, but I can’t find the template file where the word “FREE” gets generated. Can you tell me so I can remove that code? Hopefully there is a template file, because I don’t want to modify your base code and the CSS I found on the topic of removing the wording “FREE” doesn’t seem to work:
body.post-type-archive-tribe_events span.tribe-price,
body.single-tribe_events h3.ev_price {
display: none;
}But I’d rather know the template file anyway since I’m modifying several of them already. I also have Events Calendar Pro installed. Hopefully I’m posting this in the correct forum. “Community Tickets” seemed the most appropriate.
ThanksOctober 4, 2016 at 1:26 pm #1172450Andras
KeymasterHello Jeff,
Thanks for using our plugins and welcome to the forums! I’ll help you out with this.
In case you want to do the css thing, then you need to add this to your style.css or at least add the first row of it to your above declaration:
body.single-tribe_events .tribe-events-cost {
display: none;
}If you want to modify the template, then this is the file you are looking for:
wp-content\plugins\event-tickets\src\views\tickets\orders.php
I guess you already read our knowledgebase articles about overriding templates, but I’ll put the links here just in case:
https://theeventscalendar.com/knowledgebase/themers-guide/
https://theeventscalendar.com/knowledgebase/template-overview/Let me know if this helps!
Cheers,
AndrasOctober 4, 2016 at 6:45 pm #1172532Jeff
ParticipantWorked great. Kind of confusing at times what all the different files do. Thanks for your help.
October 5, 2016 at 5:16 am #1172635Andras
KeymasterHey Jeff,
Yeah, even though I’ve been working with this plugins for quite some time now, sometimes I also get a bit confused when “templating” and always find some new hidden things. 🙂
I’m happy we got this solved for you!
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Cheers and good luck with your project!
AndrasPS: If you like our plugin, we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendarPS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘What file does the text FREE get generated in this screen’ is closed to new replies.
