Support

Home Forums Event Espresso Premium Grid View – time

Grid View – time

Posted: May 17, 2017 at 10:06 am


Bosworthsgc

May 17, 2017 at 10:06 am

Hi

I am testing our christmas events set up

I have the grid view

I have half hour slots during the day starting at 9am

On hover, it shows the time of 9am

is it either possible to put from infront of 9am or remove the time element altogether.

I would only want to do this on the snowglobe category

Is this possible please

Thanks


Bosworthsgc

May 17, 2017 at 10:07 am

forgot to add that this is at http://www.bosworthsgc.co.uk/test-page

thanks


Josh

  • Support Staff

May 17, 2017 at 12:56 pm

Hi there,

You’d need to make an edit to the Grid plugin’s espresso-grid-template.template.php. You can copy this template to your active WordPress theme.

line 39 has:

$startdate = date_i18n( $date_format . ' ' . $time_format, 
strtotime( $datetime->start_date_and_time('Y-m-d', 'H:i:s') ) );

You can remove the time by modifying the code to be:

$startdate = date_i18n( $date_format, 
strtotime( $datetime->start_date_and_time('Y-m-d', 'H:i:s') ) );

The support post ‘Grid View – time’ 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.

Event Espresso