Support

Home Forums Event Espresso Premium Change date on archive'd events

Change date on archive'd events

Posted: July 5, 2016 at 7:36 am

Viewing 5 reply threads


prendul

July 5, 2016 at 7:36 am

Is there a way to change the date that defaults on the archive event page items to be the date of the actual event versus the date the tickets were put up for sale? It seems that since the page says archive and it shows these older dates, people think those events are in the past.


Tony

  • Support Staff

July 5, 2016 at 8:41 am

Hi there,

The archive uses your themes archive.php file to output the event details. It sounds like your theme outputs the post_date() on the archives which would be the date the event was created.

Can you link me to the archive so I can view this?

If the above is correct you can either hide the post_date using CSS, or create your own custom archive-espresso_events.php template file to output the details.


prendul

July 5, 2016 at 1:29 pm

Here is the link: http://www.lostpinesregionalartsconference.org/events/


Tony

  • Support Staff

July 5, 2016 at 1:36 pm

Thank you.

That is the theme outputting the post date, you can hide it using:

.post-type-archive-espresso_events .news__date {
    display: none;
}

Changing the theme to output the events datetime start_date is possible, but requires a custom achieve template to be created specifically for your theme.


prendul

July 9, 2016 at 8:03 pm

Where can I add this?


Lorenzo Orlando Caum

  • Support Staff

July 10, 2016 at 10:44 am

Hello,

That can be added through a plugin like Simple Custom CSS or Reaktiv CSS Builder.


Lorenzo

Viewing 5 reply threads

The support post ‘Change date on archive'd events’ 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