Thread Starter
_samr
(@_samr)
Ok something seems really wrong here.
I’ve been comparing the test site and my clients site. I’ve found that the code in my edge script code in my clients site is really messed up.
The whole page’s html is appearing under “<script src=”http://www.playtionery.co.nz//home/playtion/public_html/wp-content/uploads/edge_suite/project/playtionery_menu_1/playtionery_menu_edgePreload.js” type=”text/javascript”>”
for example…
<script src=”http://www.playtionery.co.nz//home/playtion/public_html/wp-content/uploads/edge_suite/project/playtionery_menu_1/playtionery_menu_edgePreload.js” type=”text/javascript”>
<!DOCTYPE html>
<html dir=”ltr” lang=”en-US” xmlns:fb=”http://www.facebook.com/2008/fbml”>
<head>
<title>Page not found | Playtionery.co.nz</title>
<meta charset=”utf-8″ />
<meta name=”description” content=”My Store” />
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″ />
<link rel=”icon” type=”image/png” href=”http://www.playtionery.co.nz/wp-content/uploads/2013/11/playtionery_favicon1.png” />
<link rel=”stylesheet” type=”text/css” href=”http://www.playtionery.co.nz/wp-content/themes/shoppica/style.css” media=”screen” />
<link href=’http://fonts.googleapis.com/css?family=Open Sans:700italic,700,400italic,400,600,300&subset=cyrillic,latin-ext,latin’ rel=’stylesheet’ type=’text/css’>
<!–[if lt IE 9]>
<script>
document.createElement(‘header’);
document.createElement(‘nav’);
document.createElement(‘section’);
document.createElement(‘article’); etc……………..
Any idea what might be causing this?
Plugin Author
ti2m
(@ti2m)
Hi,
this sounds a lot like an error caused by another plugin which maybe alters the way the header is rendered. For starters you could try to just use short codes and see what happens. Shortcodes place the JS inline, so it can’t mess with the header in your case.