Editing the title section to remove the price elements

Home Forums Calendar Products Events Calendar PRO Editing the title section to remove the price elements

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #130897
    Natalia Neira
    Participant

    Hello Folks,
    I want to remove the price from the title section. Currently is showing the range of prices that I don’t want to have displayed.
    Thanks.

    #131233
    Barry
    Member

    Hi – great site!

    You’ve got a couple of options. One is to override and customize the single-event.php template then locate and remove the following section of code:

    <?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; ?>

    Alternatively you could add a CSS rule in an appropriate location (like a custom tribe-events.css stylesheet) as follows:

    .tribe-events-cost { display: none }

    Please do see our Themer’s Guide for an overview of setting up both template overrides and custom stylesheet. Let me know if that helps!

    #505705
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Editing the title section to remove the price elements’ is closed to new replies.