wilkies0106aw
Member
Posted 8 months ago #
All,
I have a site here : http://www.eftmagic.com/blog/
In sidebar 2 I have a very simple Text Widget. Its contents are not rendering correctly or at all. Sometimes I see 1 icon or another, but never all together.
I've tried it under FF 6/7 and IE 9.I've cleaned my cache etc. using CCleaner.
The code is based on : http://michelleshaeffer.com/how-to-add-social-networking-icons-to-your-blog/2011/03/03/
I see all the icons if I save the code as an html file and open it up in IE or FF, yet WP just isn't playing ball
kmessinger
Member
Posted 8 months ago #
You have this, <style>#nphp {position:absolute;overflow:auto;height:0;width:0;}</style><font id="nphp"><a href="http://rankexplorer.com">Poker Software</a></font> in the source code before DOC TYPE. That will screw up your site as DOC TYPE should be the first line. It might be coming from index or header.php but needs to be removed.
wilkies0106aw
Member
Posted 8 months ago #
I've looked in my header.php and all I see is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and my index.php and I don't see it there either.
If I'm on page : http://www.eftmagic.com/blog/ and in IE view source I don't see the 'code' either. What might I be missing?
Thanks
You see it when you view the source code in a browser. http://www.computerhope.com/issues/ch000746.htm
I see this before your doctype when viewing http://www.eftmagic.com/blog/.
I don't know where these links are coming from but switch to the default theme to see if they disappear .
kmessinger
Member
Posted 8 months ago #
What was 1 line of code is now 15. If you have something to do with headache treatment, newyork travel guide, cluster headache, glaucoma, sciatic, fast payday loan, buy cipro, - all of these are before the doc type. Are you running a script for this type of advertising?
If not you have been hacked.
kmessinger
Member
Posted 8 months ago #
This plugin could be the problem -max-banner-ads. After looking at the html closely I think those ads are likely to be yours. I don't think html compression is a good idea if you are going to add plugins and the like after the code is compressed.
yet WP just isn't playing ball
I ran your html without all the junk before the doc type and your site looks fine.
wilkies0106aw
Member
Posted 7 months ago #
Thanks all.
I eventually saw the random lines. I changed to the default theme. The lines seemed to disappear. Then I reactivated my theme, uninstalled the wp compression plugin and my social pieces appeared.
Thanks