Calendar widget shows only future events in the month

Home Forums Calendar Products Events Calendar PRO Calendar widget shows only future events in the month

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #109546
    vancouver604
    Participant

    I have set calendar widget to show 5 upcoming events, and this works fine and looks great until I reach the end of the month. Because the plugin is only showing upcoming events in that particular month, it looks like there are no future events when it gets close to the end of the month. Is there a way to show ALL 5 upcoming events, even if it falls in the next month?

    #109959
    Barry
    Member

    You could investigate making a customization to do what you want here, but what you are describing is actually the expected and intended result for the calendar widget.

    One approach could be to override and customize the pro/widgets/mini-calendar/list.php template and add a new query (use it to replace the global $wp_query object) or else you could do the same thing from late on in the tribe_before_get_template_part action. You would need to be fairly comfortable with coding for WordPress generally to do something like this. You could also make use of the following resources to guide you along the way:

    Does that help at all?

    #118235
    Barry
    Member

    It’s been a while now so I will go ahead and close this thread. If we can assist with anything else please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Calendar widget shows only future events in the month’ is closed to new replies.