WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
datepicker.php issue? (and my fix) (1 post)

  1. websherpa
    Member
    Posted 3 years ago #

    There is a possible problem in the code of the datepicker.php file (at least in my case). The newly chosen date wasn't advancing or being recognized.

    The original code Line 8 of the-events-calendar/views/datepicker.phpwas causing an issue:

    $link .= '&eventDisplay=month&eventDate=';

    However changing & to a ? to begin the parameters (as is used throughout the Plugin and other conventions in WordPress) resulted in a fix:

    Corrected:
    $link .= '?eventDisplay=month&eventDate=';

    http://wordpress.org/extend/plugins/the-events-calendar/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic