Navigation on embedded calendar change page title

Home Forums Calendar Products Events Calendar PRO Navigation on embedded calendar change page title

  • This topic has 4 replies, 2 voices, and was last updated 9 years ago by Jesse.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1272362
    Jesse
    Participant

    I have an embedded month view calendar on one of my pages. When you navigate to the previous or next month, the <title> attribute for the page (displayed in the browser tab) is changing from the default one set by WordPress to “Events for <month> <year> – <sitename>”.

    Is there a way to disable this behavior?

    #1272399
    Jesse
    Participant

    I couldn’t find a way to disable this so I just added some JavaScript to prevent it from happening. Code below for anyone curious.

    (function () {
        var lastTitle = undefined;
        function checkTitle() {
            if (lastTitle != document.title) {
                document.title = 'My Desired Title';
                lastTitle = document.title;
            }
        setTimeout(checkTitle, 100);
        };
        checkTitle();
    })();
    #1273546
    Geoff B.
    Member

    Good afternoon Jesse and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    Kudos on coming up with that change via JavaScript AND for sharing it for everybody’s benefit!

    I have shared it with our code Ninjas and I believe this is a legit bug.

    Alas, I cannot guarantee when it will be fixed, as it’s in the development team’s hands now.
    They need to assign it, code it, test it, and schedule it for release.

    The good news is that you will be contacted as soon as a fix is available.
    Thank you for your patience as we see this through.

    Best regards,
    Geoff B.

    #1284446
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Navigation on embedded calendar change page title’ is closed to new replies.