Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m not great at PHP but really need this function as well. I’m currently trying to add it. Does anyone want to get this functionality going? I’m willing to help where I can.

    Sorry, use this link – https://pastebin.com/wLgGL8tB

    This has been added to the latest version of the plugin. Update and use month=’2015-06′ in the shortcode.

    Thanks to joinfof for the code. ??

    Thanks joinfof! it works.
    I′m trying to target current month. Need some help.
    <?php echo do_shortcode( “[ecs-list-events thumb=’true’ thumbwidth=’150′ thumbheight=’150′ order=’DESC’ month=’echo date(‘Y-m’)’]” ?>

    Thanks in advance!

    found a solution.
    in the-events-calendar-shortcode.php
    in line: ‘month’ => ”,
    replace it with: ‘month’ => $curr_month,

    then before extract( shortcode_atts( array( add: $curr_month = date(‘Y-m’);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Filter by month’ is closed to new replies.