Weird Code Being Added to Wordpress Site [Thesis]
Ok, so I'm totally confused on this and am looking for help. I have a site that is loading really slowly. I tracked the source of the slow load time is this call right here:
script type="text/javascript"
src="http://googlecloud.my.phpcloud.com/do.js"
/script
Funny thing is that it's getting added right after the html code. I've looked all through my code in the Thesis theme, and I can't find where that code is being added. While looking at my thesis code, in the /lib/html/header.php file, I found this:
function thesis_header() {
echo "\tdiv id=\"header\"\n";
thesis_hook_header();
echo "\t/div\n";
}
so I thought maybe that a piece of code was using the add_action('thesis_hook_header') call, however I did one more tweak. I changed the output from id="header" to id="header1". As soon as I did this, the script code went away. So I'm thinking that there is some code that is looking for div id="header" and then putting the script right after it. But for the life of my, I cannot find the piece of code that is doing it. Has anyone had this problem before?
Topic theme-thesis Wordpress
Category Web