WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: The Events Calendar] Calendar view month links (4 posts)

  1. ide79
    Member
    Posted 4 years ago #

    Is there a new language file to version 1.6?
    Select dropdown is ok, but the month links are in english.
    Is it using the language files to translate the links or should i modify the file?

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

  2. ide79
    Member
    Posted 4 years ago #

    .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

  3. justinendler
    Member
    Posted 4 years ago #

    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

  4. ide79
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic