Support » Plugin: Minimalistic Event Manager » Multiday events

Viewing 1 replies (of 1 total)
  • Plugin Author Manuel


    Hi @uebe,

    When you say “disappear”, I assume you mean “disappear from the widget”?

    Indeed, the widget is only testing the “_mem_start_date” field, so it ignores the ending date. This was done for simplicity. I could make it take care of end dates as well.

    Here’s an explanation of the logic that the widget currently applies. Hopefully this will help us understand why your results are incomplete.

    1. It checks for all posts with an event date within the last six months (an arbitrary limit I defined).
    2. It builds an array for all the events, including their repeating events.
    3. It filters out the old events, using the “Age of posts (in days)” defined by the user.
    4. It compares the resulting number of events with the “Numbers of posts to display” defined by the user.
    5. If the result is within that number, it goes ahead and generates the output.
    6. If we have too many events, the plugin will trim the number of events to show, giving priority to upcoming events.

    The code under (6) makes the assumption that future events are defined, it doesn’t take into consideration all edge cases. That’s probably the cause of your issue.

    What setting do you use under “Age of posts” and “Numbers of posts to display”? You should be able to work around the issue by increasing those numbers.


Viewing 1 replies (of 1 total)
  • The topic ‘Multiday events’ is closed to new replies.