• Code is showing up above the header on pages of our website, but not consistently, and not the same on each page. I am a novice. http://www.cornerstonecounselors.com
    Thank you!

    // centerwidth) { jQuery(this).css({width: maxwidth}); jQuery(this).css({height: newimgheight}); } }); /* Images with caption */ jQuery("div.wp-caption").each(function() { var captionwidth = jQuery(this).width(); var maxcaptionwidth = centerwidth + 'px'; var captionheight = jQuery(this).height(); var captionimgwidth = jQuery("div.wp-caption img").width(); var captionimgheight = jQuery("div.wp-caption img").height(); if (captionwidth > centerwidth) { jQuery(this).css({width: maxcaptionwidth}); var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px'; var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px'; jQuery(this).css({height: newcaptionheight}); jQuery("div.wp-caption img").css({height: newcaptionimgheight}); } }); /* sfhover for LI:HOVER support in IE6: */ jQuery("ul li"). hover( function() { jQuery(this).addClass("sfhover") }, function() { jQuery(this).removeClass("sfhover") } ); /* End IE6 */ } jQuery(".post table tr"). mouseover(function() { jQuery(this).addClass("over"); }). mouseout(function() { jQuery(this).removeClass("over"); }); jQuery(".post table tr:even"). addClass("alt"); jQuery("input.text, input.TextField, input.file, input.password, textarea"). focus(function () { jQuery(this).addClass("highlight"); }). blur(function () { jQuery(this).removeClass("highlight"); }) jQuery("input.inputblur"). focus(function () { jQuery(this).addClass("inputfocus"); }). blur(function () { jQuery(this).removeClass("inputfocus"); }) jQuery("input.button, input.Button, input#submit"). mouseover(function() { jQuery(this).addClass("buttonhover"); }). mouseout(function() { jQuery(this).removeClass("buttonhover"); }); /* toggle "you can use these xhtml tags" */ jQuery("a.xhtmltags"). click(function(){ jQuery("div.xhtml-tags").slideToggle(300); }); /* For the Tabbed Widgets plugin: */ jQuery("ul.tw-nav-list"). addClass("clearfix"); }); //]]> >
Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Try the usual troubleshooting steps.

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

Viewing 1 replies (of 1 total)
  • The topic ‘code above header’ is closed to new replies.