Customize the page title in Monthly View

Home Forums Calendar Products Events Calendar PRO Customize the page title in Monthly View

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1243948
    Marcello
    Participant

    I need the monthly view to simply say: Train rides for May 2017.
    Right now it adds also the day of the week, like monday, tuesday, and it’s randomly selected and very confusing for the user.

    Inside my functions.php I copied the function used as an example called tribe_alter_event_archive_titles(), but I am unable to change the date format without touching the plugin.

    I just want it to say the month and the year, which makes sense if it’s a monthly view.

    It could also be a bug, since wherever I click on the calendar, nothing changes, still says monday, or tuesday, so it’s not very clear what is causing it to show the day too.

    Also in the function, I see only F and Y, so only Month and Year should be shown anyway, I don’t get where it prepends the day.

    Am I missing something obvious?

    FYI I am an experienced PHP developer so fear not to tell me where to dig in. I can dig in the plugin but then it’s not updateable and I don’t want to do that 🙂

    • This topic was modified 9 years, 2 months ago by Marcello. Reason: A more specific title
    #1244072
    Marcello
    Participant

    I fixed it, turns out a setting for the Month View was set wrong and was adding the view too. I don’t know why I didn’t follow it. I am not that much experienced with WordPress but as soon as I figured out what the function was doing, fixed it immediately.

    #1244313
    Victor
    Member

    Hi Marcello!

    Good to hear you were able to solve the problem! And thanks for letting us know!

    I’ll go ahead and mark this thread as closed, but if you have any other questions don’t hesitate to open a new one. We’ll be happy to help.

    Best!

    Victor

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Customize the page title in Monthly View’ is closed to new replies.