Posted: May 13, 2015 at 8:36 pm
|
Hi there, I opened a ticket about this a while ago but didn’t get to working it until after the ticket closed but when I try the fix it doesn’t work for me. https://eventespresso.com/topic/hiding-price-in-list-of-events/ I copied the top code and put it into the child functions.php file but all it does is make another page completely disappear. I changed the page number to the post id that you see when you edit the page as well. Thanks! |
|
I also tried this and it did not work. |
Hi Jason, what version of Event Espresso are you using and can you provide a link to your events listing page? Thanks — |
|
|
The most updated version of the software. I need to send login credentials because it’s a membership site integrated with s2. Is there a form to do that? |
Hi Jason, Are you using Event Espresso 3 or Event Espresso 4? — |
|
|
Oh whoops…EE3 |
Hi, this line of CSS will hide the pricing: .page-id-123 .event_price {display: none;} The page id above will need to be updated from 123 to the actual page ID. For example, if your page ID was 567, then you would use this: .page-id-567 .event_price {display: none;} If you have multiple events listing pages via the [EVENT_LIST] shortcode, then you’ll also need to add CSS rules for those additional pages. The example below will hide pricing from pages with an ID of 789 and 199 respectively: .page-id-789 .event_price, .page-id-199 .event_price {display: none;} If the examples above do not work, then your theme may be using different body classes and we’ll need a link to an events listing page on your site. Finally, if you are running something like a content delivery network (CDN), then that will need to be purged afterwards so that the latest CSS is loaded by your web browser. — |
|
|
Hey Lorenzo, Thanks for the speedy help and responses. I’m still having issues getting things working correctly. I can send you credentials to our testing site if that will help. Thanks! |
Hi, the example that I shared relies on that specific body class being available. Its possible that your theme works differently and it isn’t available. Please use this form and we’ll share feedback: https://eventespresso.com/send-login-details/ — |
|
|
Great, info sent |
|
Hi Jason, The EE3 Calendar Table template won’t allow the price to be modified via CSS. Instead you will need to create a custom template. To try and keep this as simple as possible I’ve created a zip file for you, which I have emailed to you. This zip file contains a modified template that will hopefully make it easy to simply remove the price. Add the contents of this zip (including the folder) to wp-content/uploads/espresso/templates Then change your shortcode to read [EVENT_CUSTOM_VIEW template_name=”mycustomtemplate”] Finally, use the following CSS
|
|
Works like a charm! Thanks |
The support post ‘Hiding Price on Event Listing 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.