WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] [Plugin: The Events Calendar] Calendar view month links

[Resolved] [Plugin: The Events Calendar] Calendar view month links

Viewing 3 replies - 1 through 3 (of 3 total)
  • .tec-calendar th > grid-th-bg.png is requested from events.css
    The image is not in images folder.
    Should be removed from events.css file .tec-calendar th

    justinendler
    Member

    @justinendler

    Hi,

    About the month links…thank you for pointing that out. The fix will appear in the next release. To fix it now:

    in the-events-calendar.class.php, change the function getDateString() to the following:

    public function getDateString( $date ) {
        $monthNames = $this->monthNames();
        $dateParts = split( '-', $date );
        $timestamp = mktime( 0, 0, 0, $dateParts[1], 1, $dateParts[0] );
        return $monthNames[date( "F", $timestamp )] . " " . $dateParts[0];
    }

    Justin

    Thank you.

    I have now problem with my static navigation. if there is a event in the archive post list i get is_event() = 1; And that makes my static navigation go mad.

    I think is_event() = 1; should only be active in calendar, list or single view when a event is displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: The Events Calendar] Calendar view month links’ is closed to new replies.