Posted: May 5, 2015 at 1:35 pm
|
I am having a problem with my new EE4 installation. I have things looking ALMOST how I want them – with one problem. There are duplicate dates when I view the events by event-category list view. Example: http://emergencysavealife.ca/events/ – looks just fine I can hack the template to remove the datetime line on the category view, but it also removes it on the /events/ page (where I need it to stay). Please advise! |
|
Hi, I know you said this was a new installation, but can I clarify whether you have modified any of the EE templates or added EE template tags to your theme files? Have you tried swapping to a default theme such as Twentyfifteen to see if it occurs there as well? (Theme Test Drive is a useful plugin for that). |
|
Hi Dean, Thanks for your response. I have added several of the theme files from Arabica to my theme folder, and have used the Genesis archive-espresso_events.php I found on the blog, as a starter. Using Theme Test Drive, I see that the duplication is not an issue in Twentyfifteen, so obviously it’s a crossed wire in something I have done? Laurena |
Hi Laurena, Genesis works a little differently and we can help you get back on track. Could you let us know all current changes that have been made regarding the templates?
— |
|
|
Hello there, and thanks for your help! I added: I added the pagination function to my functions.php I also added the following, from the Arabica file I found in the public folder of the core: I made a minor change to content-espresso_events.php to re-order the ticket selection to the bottom of a single event. And I added a custom plugin with the following content: add_action( ‘template_redirect’, ‘my_remove_ical_link’ ); function my_remove_ical_link() { // remove “powered by Event Espresso” admin footer text add_filter( ‘admin_footer_text’, ‘ee_remove_footer_text’, 11 ); function ee_remove_footer_text() { function mycustom_filter_gettext( $translated, $original, $domain ) { // This is an array of original strings // See if the current string is in the $strings array return $translated; add_filter( ‘gettext’, ‘mycustom_filter_gettext’, 10, 3 ); |
Thanks. I was able to see this on a test site. Could you try renaming your existing content-espresso_events.php file and then moving this one into place? http://cl.ly/code/3Z3L2X3L1a3V/content-espresso_events.php — |
|
|
Hi Lorenzo, OK, that worked perfectly. I just moved the ticket selector to the bottom of the description in the “single” section. Thank you!!! Laurena |
Glad to hear that worked. I’ll update this support post to resolved. Thanks — |
|
The support post ‘Duplicate Dates in Category List View’ 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.