Posted: February 27, 2014 at 8:01 am
|
wp: 3.8.1; ee4: 4.1.6reg; on a single event page, the meta fields are only showing the PUBLISHING DATE of the event, NOT the actual date of the event and time of the event, but the date of posting the event. how can this be corrected http://thethrivetribe.org/events/bowling-night/ I could email a temporary member login info. |
Hi there, Event Espresso doesn’t add the meta fields, your theme adds them and grabs the publish date of the post. You can swap out the publish date in your theme to show the primary date time for the event if you want (or not show the publish date at all). Either way it will involve changing the theme, which the theme developer/support staff may be able to help you with. The event date template tag is espresso_event_date() if you go the swap in the event date route. |
|
|
Please, help me with this, as I don’t know which file to edit? the Espresso template file or the theme’s template? it’s very confusing, espresso has so many different templates, i can’t figure out which one is which. I need to edit the Single Event template to show the Event Date, and not the event posting date. |
It will involve changing a theme’s template, which the theme developer/support staff may be able to help you with. We generally do not support theme files that we didn’t make. |
|
|
Josh, I can edit the theme template myself, I just don’t understand which template to edit. How do I make my current theme to use a template for single event post. What should that template be named? I can’t find clear instructions. Right now the single event custom post type is pulling from Arabic Theme (is it correct?). If it is, why does it not display even date correctly. The event displays all other items correctly, like tickets, registration button, so why does the event DATE tag not displaying correctly. I don’t think it would require a LOT of customization. Please, help. |
|
Ok, so I found the template that needs updating and the meta field snippet that puts out the post published date. What would be the code to check if the post of type Event Espresso? I would then replace the post meta with the event meta instead. |
|
So, I figured it out. YAY! This is code I’ve use on my single post template:
|
|
Well done on resolving it and thanks for sharing the solution. |
The support post ‘EE4 On a Single Event Page (registration) the meta fields are wrong’ 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.