Home › Forums › Calendar Products › Events Calendar PRO › Page Title "undefined" when using map-view
- This topic has 9 replies, 2 voices, and was last updated 8 years, 8 months ago by
Emanuele Guidotti.
-
AuthorPosts
-
August 3, 2017 at 6:50 am #1329999
Emanuele Guidotti
ParticipantHi 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
August 3, 2017 at 11:01 am #1330275Emanuele Guidotti
ParticipantI’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,
EmanueleAugust 4, 2017 at 1:22 pm #1330947Patricia
MemberHey 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
August 4, 2017 at 4:54 pm #1331010Emanuele Guidotti
ParticipantHi 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,
EmanueleAugust 7, 2017 at 3:03 pm #1331832Patricia
MemberHi 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
August 7, 2017 at 3:38 pm #1331846Emanuele Guidotti
ParticipantOk thank you again :=)
Regards,
EmanueleAugust 7, 2017 at 4:06 pm #1331850Emanuele Guidotti
ParticipantYour advice was very helpful!
I could solve the problem preventing the document.title from being changed:Object.defineProperty(document, ‘title’, {
set: function(){}
});Thank You!
EmanueleAugust 8, 2017 at 5:11 am #1332027Patricia
MemberHi 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
August 30, 2017 at 9:35 am #1342404Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Page Title "undefined" when using map-view’ is closed to new replies.
