WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Previous Events and Next Events links going to wrong URL (4 posts)

  1. Eve Alexander
    Member
    Posted 3 years ago #

    My Previous Events and Next Events links on my Events page, are going to the wrong URL.

    This is the line of code I need to correct:

    Next Month »

    But I cannot find it.

    Alternatively, if we can't correct it, I would like to remove the Previous and Next Events links. How to?

    http://wordpress.org/extend/plugins/my-calendar/

  2. minimedk
    Member
    Posted 3 years ago #

    Hi

    Dont know if you have solved it already. I had the same problem because it was the only text not translated to danish.

    You need to make the change in the file my-calendar-output.php
    Line 716 and Line 678.

    ?"Next events":stripcslashes
    ?"Previous events":stripcslashes
    change to whatever you want between the ""

    BR

    René

  3. Krokkodriljo
    Member
    Posted 3 years ago #

    That's a dirty hard coded solution, though.

    It should be replaced by something like

    __('Previous events','my-calendar')

    ...in order tro fetch the translation properly. However, I tried this particular bit of code and it didn't work.

    Any suggestions?

  4. Joe Dolson
    Member
    Plugin Author

    Posted 3 years ago #

    @Krokkodriljo First, the translated text will have to be in the translation file for that to work. Second, if you want to customize that particular text, you can do it from My Calendar's Settings page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic