What file does the text FREE get generated in this screen

Home Forums Ticket Products Community Tickets What file does the text FREE get generated in this screen

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1172434
    Jeff
    Participant

    The 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.
    Thanks

    #1172450
    Andras
    Keymaster

    Hello 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,
    Andras

    #1172532
    Jeff
    Participant

    Worked great. Kind of confusing at times what all the different files do. Thanks for your help.

    #1172635
    Andras
    Keymaster

    Hey 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!
    Andras

    PS: 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-calendar

    PS2: 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!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘What file does the text FREE get generated in this screen’ is closed to new replies.