Viewing 4 replies - 1 through 4 (of 4 total)
  • Anonymous User 393930

    (@anonymized-393930)

    There is currently no way to do this. You can use the shortcode to show all events but not just those for one month. This feature might be added in a future release.

    Thread Starter Leanne

    (@norlink)

    That’s kind of what I figured. I was thinking maybe I could use Groups and group them by month. Then add a bit of php in my template file (these are only showing on the home page rather than a widget) to extract the current month and use that month within the shortcode to display the current month’s events.

    Php isn’t my strongest skill but I think it should be relatively easy to figure out.

    Thread Starter Leanne

    (@norlink)

    If anyone wants to list events by current month. This is what I did.

    Set up Event Types by month name (ie: January, February, etc). Select which month (event type) each entry is in

    Since I’m only showing these on my home page, I put this code in my page.php file

    <?php echo do_shortcode( "[tdih show_types=0 filter_type='".strtolower(date('F'))."' show_all=1]" ); ?>

    the strtolower is used to show the month as january rather than January to match the slug.

    Anonymous User 393930

    (@anonymized-393930)

    It is possible from version 1.2 to filter the tdih_tab shortcode for a particular day, month, year or a combination of the three. This allows you to have a list of events for January (for any day or year) by using

    [tdih_tab month=1]

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Show events by Month’ is closed to new replies.