Page Title "undefined" when using map-view

Home Forums Calendar Products Events Calendar PRO Page Title "undefined" when using map-view

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1329999
    Emanuele Guidotti
    Participant

    Hi there,
    I am having a problem with the map-view of EventsCalendarPRO.

    For all the pages embedding a map-view (also with tribe_events shortcode), the Title becomes “undefined” as soon as the page finishes loading.
    Here is an example: https://whatsout.it/events/mappa/

    Are you aware of this problem? Could you suggest a solution please?
    I am very worried about SEO problems.

    Emanuele

    #1330275
    Emanuele Guidotti
    Participant

    I’ve just found out that this is a problem with the theme I am using (https://themeforest.net/item/newspaper/5489609?s_rank=1)

    The problem is solved when using other themes.
    Could you guess what it is due to? Or should I contact the theme’s support?

    Thank you,
    Emanuele

    #1330947
    Patricia
    Member

    Hey Emanuele,

    Thank you for reaching out to us! Good to know that you were already able to figure out the cause of the issue. I would suggest you to contact the theme developer to get further assistance on this, but just to help you get started, the html tag that is being changed here is the <title></title>.

    I hope this helps! Let me know if you need anything else and I’ll be happy to assist!

    Regards,

    Patricia

    #1331010
    Emanuele Guidotti
    Participant

    Hi Patricia,
    Thank you for your reply.

    The strange thing here is that the title tag is correct looking at the html page.
    But the title diplaying in the browser is ‘undefined’.

    Before contacting the theme developer, could you guess which could be causing the problem?
    So that I can be more specific with the theme developer.

    Thank you,
    Emanuele

    #1331832
    Patricia
    Member

    Hi Emanuele,

    The title tag is probably being handled/modified by your theme via javaScript, using document.title.

    I hope this helps you to get started!

    Let us know if you need anything else and have a great day!

    Regards,

    Patricia

    #1331846
    Emanuele Guidotti
    Participant

    Ok thank you again :=)

    Regards,
    Emanuele

    #1331850
    Emanuele Guidotti
    Participant

    Your advice was very helpful!
    I could solve the problem preventing the document.title from being changed:

    Object.defineProperty(document, ‘title’, {
    set: function(){}
    });

    Thank You!
    Emanuele

    #1332027
    Patricia
    Member

    Hi Emanuele,

    Good to know I was able to help you to solve this 🙂

    Let me know if you need anything else and have a great day!

    Regards,

    Patricia

    #1342404
    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 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Page Title "undefined" when using map-view’ is closed to new replies.