Google maps disapears after replacing wp_head() with same code output from source code

So im optimizing a website to make page load faster, and editing some of the script includes in the header. What im trying to do, and its working weird for some reason, is looking up in the browser source code what the wp_head() function outputs, and copying and pasting it identical to the html file editor, so i can add async to the script tags, and do a couple of other things

Its working fine, except for some reason, google maps isnt showing up. Which doenst make sense because the final code is supposably identical. The only difference is that when it works, im using wp_head(), and when it doesnt, im hardcoding the exact output from wp_head, and removing that function

Read More

Any idea why that is?

Heres the site

http://tinyurl.com/mcquxmu

the blank area is the google maps, and im not seeing any errors in the console… nothing else on the page has been edited. Only the content from wp_head which i place in between comments.

Related posts

Leave a Reply