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

  1. Eve Alexander
    Posted 4 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?


  2. minimedk
    Posted 4 years ago #


    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 ""



  3. Krokkodriljo
    Posted 4 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
    Plugin Author

    Posted 4 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

  • My Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic