Support

Home Forums Event Espresso Premium Can I filter the event grid for events in the next month

Can I filter the event grid for events in the next month

Posted: November 22, 2019 at 11:48 pm

Viewing 1 reply thread


zafissa

November 22, 2019 at 11:48 pm

I would like to show events in the Event Grid for the next month (dynamically filter without having to alter the short code each month). Is there an easy way to do this?


Josh

  • Support Staff

November 26, 2019 at 2:45 pm

Hi,

What you can do is install this plugin:

https://wordpress.org/plugins/php-everywhere/

Then on a page, add a PHP Everywhere block. In that block you put:

[ESPRESSO_GRID_TEMPLATE month=<?php echo date("F");?>]

Then, in another “Shortcode” block on the same page, add the following:

<!-- [ESPRESSO_GRID_TEMPLATE] -->

Viewing 1 reply thread

The support post ‘Can I filter the event grid for events in the next month’ 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