Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Issue with date display for events spanning 2 months

$
0
0

Replies: 0

I’m using the [events_list] shortcode to display events on the page.

  <div id="upcoming-events" class="upcoming-events active">
    <?php echo do_shortcode('[events_list tag="-132,-154"]'); // 132 account2, 154 live; ?>
  </div>

The issue is that when the event spans 2 months, the end date does not show the month.

First Steps To Success – April 2022
April 29 – 1, 2022
6:00pm CDT America/Chicago

How can I get the date to show the end month if it’s different than the start month (April 29 – May 1)?


Viewing all articles
Browse latest Browse all 59525

Trending Articles