Possible bug with /events view if dates turned on
-
I had turned on the “Show event date in the events list page” and if you went to https://site.com/events or whatever you had set as the slug, each entry was just blank.
This was using the Nisarg theme…
Turned “Show event date in the events list page” off and the titles would show, but I wanted the dates.
Tracked it down to line 113 in ecwd-cpt-class.php
return $title . “<p class=’ecwd_events_date’>” . $ecwd_event_date_from . ” – ” . $ecwd_event_date_to . “<p>”;
It is missing the “close” on the paragraph – changing to this works:
return $title . “<p class=’ecwd_events_date’>” . $ecwd_event_date_from . ” – ” . $ecwd_event_date_to . “</p>”;
Note the </p> at the end.
Maybe that will help somebody else.
- The topic ‘Possible bug with /events view if dates turned on’ is closed to new replies.