Sean

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Event List Sort by Month Header #12047
    Sean
    Member

    One last go

    start of loop

    <?php if($events_list_month == $events_list_current_month) { } else { echo '' .$events_list_current_month. ''; } ?>

    end of loop

    in reply to: Event List Sort by Month Header #12046
    Sean
    Member

    Still didn’t paste fully, oh well I tried.

    in reply to: Event List Sort by Month Header #12045
    Sean
    Member

    That didn’t work, trying again:

    before loop:

    $events_list_current_month_date_format = ‘F’;
    $events_list_current_month = tribe_get_start_date( null, false, $events_list_current_month_date_format );

    if($events_list_month == $events_list_current_month) { } else { echo ” .$events_list_current_month. ”; }

    After loop:

    $events_list_month = $events_list_current_month;

    In PHP tags obviously.

    in reply to: Event List Sort by Month Header #12044
    Sean
    Member

    I achieved what your looking for with relative ease, thought I would post what I did since I read this thread first looking for a solution.

    At the start of the loop after while statement in list.php I added:

    <?php if($events_list_month == $events_list_current_month) { } else { echo '’ .$events_list_current_month. ”; }

    ?>

    at at the end of the loop before the endwhile; I added:

    I’ve not tested it fully, but it appears to be working on my installation.

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