Posted: May 6, 2014 at 7:34 am
Hey there, So I have another compatability issue with EE4 and the Razor theme from themeforest. I have notified the theme developer, but they are unlikely to issue a fix any time soon. Thanks a million. donal |
|
Hi Donal, IF you go to Event Espresso -> General Settings. Templates Tab. Can you check if ‘Display Datetimes’ is set to Yes? |
|
Tony, I’m not seeing that setting. IT displays fine using the 2014 template. |
|
Oops, was looking on wrong tab. Yes, Display datetimes is set to Yes. |
|
Hi Donal, In order for the theme to display the datetimes there you’ll need to include the code to do so. With the theme and settings you are currently using this would be within the file ‘template-blog-style-1.php’ within the the themes folder. Go down to line 139 and then under that add: <?php espresso_get_template_part( 'content', 'espresso_events-datetimes' ); ?> The code will look something like this: http://take.ms/QYjJP The outcome of the Events page will be something like this: http://take.ms/kpT1k Now unfortunately if you update the theme this modification will be removed. If you change your ‘blog style’ setting, you will be using a different template part, so this modification will not be used. The best way to preserve modifications such as these would be to create a child theme, we have a some more information on theming EE4 here: https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/
|
|
Hi Tony. THanks for that. I already ahve a child theme created, so just applied your change to that. Thanks! |
|
Ok, never mind on the page layout question, I got that working. So if i wanted to have /events go directly to a page so I have more control over it. Is that possible, and have the events slug to to that page? |
|
Hello, The events list page (example.com/events/) is virtual and can’t be edited through WordPress pages. However you can customize it by editing a template file: https://eventespresso.com/topic/ee4-custom-events-listing-display/#post-84466 Another option is to create a new WordPress page (different slug than events) and then add the Espresso events shortcode to it: https://eventespresso.com/topic/ee4-customize-event-list-page/#post-94616 — |
|
The support post ‘Events page with Razor theme issue’ 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.