Support

Home Forums Event Espresso Premium Removing price on cover page

Removing price on cover page

Posted: January 8, 2013 at 6:19 pm

Viewing 8 reply threads


Adarsh Alphons

January 8, 2013 at 6:19 pm

Dear Event Expresso,

In my cover page: http://www.projectartonline.org/event-registration/ it shows the ticket price on top. The prob is that the event has multiple ticket prices and the price indicated on this page is misleading. Can I either – completely remove the price or show the range of prices available?

Thank you.

Adarsh


Dean

January 9, 2013 at 12:52 am

Hello Adarsh,

Currently, by default, the first price entered into the event is what is shown.

Removal: Easiest way is with CSS, so add this to your themes style.css or use a plugin such as My Custom CSS

.event_price {
display: none;
}

Display all:

Currently the only way to do this is to edit the event_list_display.php

Where it says

<?php echo  $org_options['currency_symbol'].$event->event_cost; ?>

change it to

         <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="0"]'); ?>
         <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="1"]'); ?>
         <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="2"]'); ?>
         <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="3"]'); ?>
         <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="4"]'); ?>

This will list the first 5 prices so add or remove lines as needed (not the first price is always referred to as number=0 not 1)


Adarsh Alphons

January 9, 2013 at 10:07 am

Thank you for your response. I can’t find the file theme style.css

Could you tell me where it may be located?

Thank you.


Garth

  • Support Staff

January 9, 2013 at 11:08 am

HI Adarsh,

The theme style sheet location will depend on the theme. Generally it’s located in the wp-content > themes > your active theme > style.css


Adarsh Alphons

January 9, 2013 at 3:43 pm

Thank you! Problem fixed!!

Adarsh


Dean

January 9, 2013 at 11:41 pm

Just for posterity, and future readers, the theme’s style sheet can also be accessed from inside WordPress by going to Appearance > Editor. The first lot of code to appear will be your current themes main stylesheet.


Adarsh Alphons

January 10, 2013 at 7:13 am

Thank you! Also, how do I take out the ‘Available Spaces’ on this page?

Adarsh


Dean

January 10, 2013 at 8:33 am

Hi

Same thing, a CSS edit.

.spaces-available {
display: none;
}

Hope that helps.


Adarsh Alphons

January 10, 2013 at 8:44 am

Many thanks!

Adarsh

Viewing 8 reply threads

The support post ‘Removing price on cover page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso