Remove price range in event titles

Home Forums Ticket Products Event Tickets Plus Remove price range in event titles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1184407
    James Fountain
    Participant

    Hello, I would like to remove the price range in event titles. I have found a thread that mentions editing the single-event.php file however when I copy this to my Child Theme into /tribe-events it changes the look of my single event pages.

    I would like to keep the look of the page as it is, just remove the price range.

    Also, I am aware of the display:none; however this doesn’t work on Internet Explorer and unfortunately, most of the people using this website will probably be using it so will still be able to see the price range :/

    If not I will just have to accept the change in appearance and use CSS to get it looking nicer.

    #1184413
    James Fountain
    Participant

    This reply is private.

    #1184818
    Hunter
    Moderator

    James,

    I hope you had a great Friday 🙂

    You’ll need to edit or create an override (if possible) for /avada/includes/class-avada-eventscalendar.php. Remove or comment out lines 91-94 and the cost should no longer display in the event titles.

    <?php if ( tribe_get_cost() ) : ?>
    <span class="tribe-events-divider">|</span>
    <span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span>
    <?php endif; ?>

    Let me know how things go and have a great rest of your weekend. Cheers!

    #1185146
    James Fountain
    Participant

    Hello,

    Thank you for pointing me in the right direction. Unfortunately on Avada’s website they state “You can only copy some files to the child theme. In Avada, we have made a decision to make sure that core logical code which can break the theme is not copied in the child theme. This includes the files inside the includes folder.”

    Do you know if I can target this line of code with a hook/action/filter or any other way of removing it, like adding something to my functions.php?

    #1185551
    Hunter
    Moderator

    Hey James,

    Seeing Avada has made customizations to files typically manageable by overwrites, it would be best if you reach out to the Avada authors for assistance on this. Sorry I can’t be of more assistance here and thanks for understanding. Best of luck and if you come up with a resolution, please feel free to share so others can take advantage of that if they so choose.

    Have a great Halloween. Cheers!

    #1195898
    Support Droid
    Keymaster

    Hey 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove price range in event titles’ is closed to new replies.