Home › Forums › Calendar Products › Events Calendar PRO › Changing META data on event page
- This topic has 9 replies, 2 voices, and was last updated 7 years, 11 months ago by Andras.
-
AuthorPosts
-
May 17, 2016 at 4:13 am #1115274TEMEParticipant
We have an event which is free. However, when this event is displayed, its META data displays “Pris: ” (see screendump) and then nothing.
I have searched high and low to find out where this text is being output. Can you help me out with regards to changing this?
Regards,
Teme
May 17, 2016 at 4:22 am #1115277TEMEParticipantSame question goes for the top part of the page where it states “Gratis” without CSS to hide the line.
Where can I add CSS in order to hide it?
Regards,
Teme
May 17, 2016 at 1:39 pm #1115617AndrasKeymasterHi Teme,
Thanks for using Events Calendar PRO! Let me try to help you fix those.
In the event do you have zero (0) set up as the price for the event? It looks like that, and the field is hidden with some CSS.
Solution: if you don’t put in any number for the price, you just leave the field empty, then the whole price section will be hidden, as you want it.
(If you put in 0, then it will show Gratis. If you put in any other number, it will show up as the price of the ticket.)
That should also fix your second question. The ” | Gratis ” only shows up, when you put zero (0) as the ticket price. If you leave the field empty, that will also disappear.
Let me know if this solves your problem.
Cheers,
AndrasMay 18, 2016 at 12:00 am #1115749TEMEParticipantI am only using the RSVP version which is why the event is free. I cannot see any fields with pricing? Are my eyes playing tricks with me?
Regards,
Teme
May 18, 2016 at 3:03 am #1115770AndrasKeymasterMay 19, 2016 at 4:05 am #1116301TEMEParticipantHi Andreas,
I have no such field on my web page – see attached screen dump.
Regards,
Teme
May 19, 2016 at 3:39 pm #1116754AndrasKeymasterHey Teme,
Could you share with me your system information, please? Here’s a guide for that.
Also, please follow this guide to rule out any conflicting plugins / themes and make sure you are using the most recent versions of all Modern Tribe plugins.
The ‘Event Cost’ section should be visible when you create a new event or edit an old one, even without the PRO version of the plugin. Just like this:
I’ll be waiting for your answer.
Cheers,
AndrasMay 20, 2016 at 12:41 am #1116874TEMEParticipantThis reply is private.
May 20, 2016 at 3:36 pm #1117249AndrasKeymasterTeme, thanks for getting back to me with the sys info. That definitely sheds a new light on things.
You don’t see that section because you are using the Event Tickets plugin as well, which I didn’t realize before.
You have an RSVP set up, that is why the “Pris: Gratis” appears. And part of that is hidden with some CSS code.
Here is what could work to achieve the result you are looking for. Add the following to your theme’s style.css file:
.tribe-events-meta-group-details dl dt:nth-of-type(3) {
display: none;
}
.tribe-events-single .tribe-events-divider, .tribe-events-single .tribe-events-cost {
display: none !important;
}
This piece of CSS should hide all the elements that you would like to hide.This should solve your issue. Please get back to me on the result.
Cheers,
AndrasMay 24, 2016 at 7:23 am #1118177AndrasKeymasterHi Teme,
I see the solution worked out well.
I am going to go ahead and close this ticket, but if you need help on this or something else please post a new one. We’ll be happy to help.
Cheers,
AndrasPS: If you are happy with Modern Tribe’s products and support, we would be really happy if you could leave us a review in the wordpress.org repository. Thanks!
-
AuthorPosts
- The topic ‘Changing META data on event page’ is closed to new replies.