Community Forums › Forums › Archived Forums › General Discussion › Sneaky Hiding Code! Can't find where to delete it!
- This topic has 14 replies, 2 voices, and was last updated 9 years, 11 months ago by Anita.
-
AuthorPosts
-
May 12, 2014 at 5:46 pm #104770evelesterMember
Ok, It may be lack of sleep- but I am trying to fix a few code errors on my site- namely where a script somewhere in my header that is trying to pull old broken images, I don't even use that code anymore- I am guessing it is left over from an old design that somehow got left in place. All I need to do is delete it
starts on line 58 if the code view- I have searched and searched for where it is being called from with no luck. I disabled all the old plugins just in case one of them was putting it there. I just can't narrow down where it would be at. I would happily give someone my files/password if you could find the pesky place it is hiding LOL (checked all theme files, site hooks, theme settings, plugin settings, Genesis theme files)
I remember using the code- a LONG time ago- I was making a rotating image (redneck style gif I guess lol) but I don't remember even using it on this version of the blog.
I am using my own edited version of the Tapestry child theme- over the years I have changed it a lot, just a bit here and there- when I have time- so it probably isn't even close to the original! Everything is updated to the newest version. Can someone take a peek at my code and tell me where in the heck to look for this?
<script language="JavaScript1.1">
http://everydayeve.com
<!--
var image1=new Image()
image1.src="http://everydayeve.com/wp-content/portfolio/How and Where to Make Money Online -thumb.png"
var image2=new Image()
image2.src="http://everydayeve.com/wp-content/portfolio/guardianthumb.png"
var image3=new Image()
image3.src="http://everydayeve.com/wp-content/portfolio/Readthumb.png"
var image4=new Image()
image4.src="http://everydayeve.com/wp-content/portfolio/Carol Andersonthumb.png"
var image5=new Image()
image5.src="http://everydayeve.com/wp-content/portfolio/twitter/tweetsbyustwitterthumb.jpg"
var image6=new Image()
image6.src="http://everydayeve.com/wp-content/portfolio/twitter/twitterthumb.png"
var image7=new Image()
image7.src="http://everydayeve.com/wp-content/portfolio/twitter/babytwitterthumb.png"
//-->
</script>May 12, 2014 at 5:55 pm #104772AnitaKeymasterDid you open up Genesis > Theme Settings and look in the header or footer code boxes?
Love coffee, chocolate and my Bella!
May 12, 2014 at 6:05 pm #104774evelesterMemberI did- and what is strange is that there is only one line of code between what is in the header box in theme settings (google analytics in the header box) followed by:
<style type="text/css">#header { background: url(http://everydayeve.com/everydayeve.com/wp-content/uploads/2012/08/header.png) no-repeat !important; }</style>
then immediately after is the code that is coming from nowhere lol- I was hoping that finding were the line above was from would narrow it down but I checked all the header files and function files and couldn't find anything out of the norm... so strange! lol
May 12, 2014 at 6:07 pm #104775AnitaKeymasterSend me a message on my site with the user id and password. I'd me happy to take a look.
Love coffee, chocolate and my Bella!
May 12, 2014 at 6:29 pm #104782evelesterMemberjust messaged you- had to make a new ftp account- lol, I had mine saved in dreamweaver and it was hiding the password- I would be lost if my computer crashed- this is a great reminder to back up all my logins this week! 🙂
May 12, 2014 at 6:32 pm #104783AnitaKeymasterInteresting, I haven't received the email yet.
Love coffee, chocolate and my Bella!
May 12, 2014 at 6:42 pm #104784evelesterMemberstrange- it said it was sent- I will resend it just in case- I used the contact me form on the Diva site.
May 12, 2014 at 6:44 pm #104785AnitaKeymasterOk, I just sent myself a test and it worked. I've gotten three from there today.
Love coffee, chocolate and my Bella!
May 12, 2014 at 6:45 pm #104786evelesterMemberThis reply has been marked as private.May 12, 2014 at 7:39 pm #104808AnitaKeymasterOnly moderators of the forum can see private messages.
Love coffee, chocolate and my Bella!
May 12, 2014 at 7:42 pm #104810evelesterMemberahh, you still have not gotten the message I sent through your site? I even tried with another email address in case I was getting sent to spam. lol
It isn't a big deal anyway, I don't want you to waste your time on it- it isn't 'broken' just annoying lol. if you want to email me at evelester @ gmail.com feel free, thanks for all your help! 🙂
May 12, 2014 at 7:44 pm #104812AnitaKeymasterJust emailed you.
Love coffee, chocolate and my Bella!
May 12, 2014 at 8:01 pm #104817AnitaKeymasterFound it, check your email. It's in the Genesis Simple Hooks.
Love coffee, chocolate and my Bella!
May 12, 2014 at 8:11 pm #104823evelesterMemberYou are amazing- looks like my adblock browser plugin was messing up and making all those boxes show up empty- I deactivated it and THERE it is.... you have saved me hours and hours of digging through code tonight to hunt it down. LOL
no more adblock for me! THANK YOU SOOOOO very much!
May 12, 2014 at 8:41 pm #104832AnitaKeymasterYou're welcome! Glad to help.
Love coffee, chocolate and my Bella!
-
AuthorPosts
- The topic ‘Sneaky Hiding Code! Can't find where to delete it!’ is closed to new replies.