Support

Home Forums Event Espresso Premium Removing time from grid view

Removing time from grid view

Posted: November 17, 2014 at 5:09 pm

Viewing 3 reply threads


web comms

November 17, 2014 at 5:09 pm

I previously asked about removing time from landing page. You responded but said it would require some custom PHP changes. My superviser has now confirmed he is happy to make some .PHP changes – would you mind talking me through this please? (See original conversation below)

Many thanks πŸ™‚
Julia

Hi,
On landing pages such as these: http://artgallery.redland.qld.gov.au/exhibitions/past-exhibitions/
Is it possible to remove the time from the display?
As it is an Art Gallery website, we just wanted a way to easily display past exhibitions – and in theory this solution works well, we just need some tweaks such as removing time from the display?
Thanks,
Julia

Dean
Support Staff
October 27, 2014 at 4:52 am
Hi,
Not without editing the template directly. If you are ok with editing PHP then I can guide you through it, the change is relatively minor. Please note though that changes to the template files will be over written when the addon is updated.


Dean

November 18, 2014 at 5:06 am

Hi,

You will need to edit /wp-content/plugins/eea-events-grid-view-template_1.1/templates/espresso-grid-template.template.php

add

$time_option = ' ';

above line 57 where it says espresso_event_date( $date_option, $time_option );

Please note that updates to the plugin will over write (revert) these changes.

Screenshot: http://take.ms/9RCHI


web comms

November 18, 2014 at 7:00 pm

Perfect – thanks πŸ™‚


Tony

  • Support Staff

November 19, 2014 at 4:07 am

Just to note if you copy the template file (espresso-grid-template.template.php) you have edited to

wp-content/uploads/espresso/templates/

That template will be used in place of the original and will be kept update safe.

Viewing 3 reply threads

The support post ‘Removing time from grid 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.

Event Espresso