Support

Home Forums Event Espresso Premium Event listing has no dates/detail view needs help Reply To: Event listing has no dates/detail view needs help

Reply To: Event listing has no dates/detail view needs help

Author Replies
dougintexas # Posted on March 1, 2018 at 10:59 am

Josh, again thanks. I’m trying to format the dates that appear on the listing so that they look good in a button. I’ve done the following: <?php `if(function_exists(‘espresso_next_upcoming_datetime’)){
espresso_next_upcoming_datetime( ”, ‘M d’, $post->ID, true);
} ?> `

I added ‘M d’ to the date object but it ends up rendering “Next Class March 24, 2018 Mar 24”. I want to loose the full date (March 10, 2018) and use Mar 10.

Do NOT follow this link or you will be banned from the site!