Forums

Events Manager
Display only list of events from START date after today (4 posts)

  1. billc108
    Member
    Posted 1 year ago #

    Two problems I'm trying to resolve:

    1) Previous version displayed list of events with START dates from today forward. 3.0.95 displays all events, including those from the beginning of this month, which have an END date after today. Most of those events are of a type where the start date is the defining one for entry (ongoing classes, etc), and listing them after the start date is of little use to anyone. List widget does the same.

    I haven't been able to find a setting yet... I did a fair bit of hacking on the previous 2.x install to make it fit my needs, so that may have been something I fixed myself originally. But it's been a couple years since I did that, so I'm open to pointers as to what to change on this version.

    2) RSS feed currently displays only next 5 events (again, including several events which started at the beginning of the month). Where do I change it to display more?

    Thanks.

  2. billc108
    Member
    Posted 1 year ago #

    Ok, I figured out the answer to question 2:

    in rss.php at about line 25 change

    $events = EM_Events::get( array('limit'=>5) );

    to

    $events = EM_Events::get( array('limit'=>30) );

    or whatever number you prefer.

    Still hoping for an answer to the first question...

  3. Marcus
    Member
    Posted 1 year ago #

    hi, if you can start using the beta, even better. http://wp-events-plugin.com/try-the-beta/

    regarding #1 I've had this request a few times and will implement asap, but for now you can hook into pretty much anything. in this case, probably

    EM_Events::build_sql_conditions() in classes/em-events.php, and modify the scope array. i think you can in the current stable release too.

  4. billc108
    Member
    Posted 1 year ago #

    Cool, I'll give it a shot.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic