Posted by geoster 48 weeks ago
Where does this code get written? The switcher is showing up fine on the mobile theme, but on my desktop theme it is writing it to the body tag so it is floating over other parts of my site. I looked through the theme and plug-in files but couldn't find out where you call the switcher to make sure it is called in the footer.
My site is not public so I can't show you, but here is the page source where this is showing. I am using the Hybrid News theme.
<div id="footer-container"> <div id="footer"> Copyright 2009, All Rights Reserved. </div><!-- #footer --> </div><!-- #footer-container --> </div><!-- #body-container --> <script type='text/javascript' src='/wp-content/plugins/contact-form-7/contact-form-7.js?ver=2.0.5'></script> <a onclick='document.cookie="wpmp_switcher=mobile;path=/;expires=Tue, 01-01-2030 00:00:00 GMT";' href='/company/?wpmp_switcher=mobile'>Switch to our mobile site</a> </body>
Notice it is right before the /body tag, and after the body and footer containers...
Suggestions on where to look?
Thanks!