Display a preselected month in full calendar

WordPress Event Management, Calendars & Registration Forums Request A Feature Display a preselected month in full calendar

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 11 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5582

    Hi Stephen,

    I would like to display a “full” calendar at the top of every each month archive page. It was no problem to put it in the archive template, but I didn’t find a way to make it initially display a different month than the current. Is this somehow possible? Otherwise, I would propose this as a feature request.

    Also, some kind of navigation between different month archives would be great – although I guess this is a minor problem and can be resolved by customizing the template.

    Rolf
    #5590

    Hi Rolf,

    I guess the eo_get_event_fullcalendar() function could take additional parameters to set the date it loads on…. I’ll add this in 1.2.

    R.e. link to a month archive, you could use the eo_get_event_archive_link() function( see docs ). To get the date of the current archive see eo_get_event_archive_date(). That will return the 1st of the month, for month archives, and the 1st January for year archives (in specified format, or datetime object).

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.