Support

Home Forums Event Espresso Premium Comma after Datetimes in Frontend of Multiple Event Listings

Comma after Datetimes in Frontend of Multiple Event Listings

Posted: August 18, 2019 at 11:58 am


Atma

August 18, 2019 at 11:58 am

On the Event-List page, where all the events are listed, it shows commas after each shown date.

Please check out the screenshot, on the right side next to each date-time you see a comma.

https://www.dropbox.com/s/hl0pcunbbeqkav6/Screenshot%202019-08-18%2019.40.49.png?dl=0

I tried to find a way to remove these commas, but couldn’t.
Can you help?

Thanks much!


Tony

  • Support Staff

August 19, 2019 at 2:36 am

Hi there,

That doesn’t look like EE’s default event list, can you link us to the page in question so we can take a look?

(Note you can mark your post as private if you don’t want the link to be visible to anyone other than EE support)


Atma

August 20, 2019 at 10:17 pm

This reply has been marked as private.


Tony

  • Support Staff

August 21, 2019 at 4:33 am

Hmm, ok.

Have you customized the ‘espresso_list_of_event_dates()` function at all? It’s a pluggable function meaning you can add your own version of it to you themes functions.php file or a custom functions plugin and it will override the default EE output.

The reason I ask is the list of event dates you have is very different from how EE outs the dates (which explains why above I said it didn’t look like EE events list).

So I’m assuming your using your own custom function to output those dates?


Atma

August 29, 2019 at 11:27 am

omg, that must have been done by the old Webmaster, who is unreachable. Do you have any idea how to handle this?

Is there a way to find out what parts of the custom php file have been altered?


Josh

  • Support Staff

August 29, 2019 at 3:21 pm

You could check your active theme’s functions.php file, and inside that file there may be a function with the name espresso_list_of_event_dates. The function may look something like this:
https://github.com/eventespresso/event-espresso-core/blob/master/public/template_tags.php#L462

The difference will be the customized function would have some code to add a comma.

Another place to check would be inside any custom plugins that were written by the former webmaster.

The support post ‘Comma after Datetimes in Frontend of Multiple Event Listings’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 weeks ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!