Posted: January 21, 2014 at 4:20 am
|
Hi, I’m having difficulties to show the event date (or list of dates if it’s recurrent event) both in the event list page and the event page, . Best regards, Marion. |
|
Hi Marion, The templates look to be modified so it is likely due to an incorrect modification. If the default templates are used do the dates show correctly? You can temporarily rename the wp-content/uploads/espresso folder via FTP to force the plugin to use the default templates. |
|
Hi Dean, Yes, but when it’s a recurrent event it only show the first event date, and I would like to display all of them. |
Hi there, Event Espresso displays all the event dates automatically, but as Dean mentioned, it appears there are modified templates in the /wp-content/uploads/espresso/templates. Since there are so many templates in there, it may be best to rename the event_list.php file that is there so the built in Event Espresso event list template will load instead. |
|
|
Thanks for your reply Josh. Best regards, |
How was it modified? Usually you can get the Month names to translate by means of a language file. Or if they’re not in the language file, the gettext filter will let you translate them by using a function like this: |
|
|
Thanks a Lot Josh, I will try that. |
|
Please let us know how you get on. |
|
No results yet.. I’m going to install WPML plugin and see if it works. |
|
Nothing, I can’t figured out. <pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”> if(count($start_date_recs[$recurrence_id])>1){ |
You might try the date_i18n function instead: |
|
The support post ‘How to display list of dates of a recurrent event’ 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.