ill try the plugins but if i deactivate all of them and reactivate them will their settings still be intact?
i tried the plugns. nope its not them. this is insane. I looked at the functions.php’s and on the installed theme it was way shorter than the downloaded theme’s functions.php file. any ideas?
After thinking about it over night, I believe that just deactivating the plugins will not find the problem because the bad code is already installed. You would need to disable all plugins then reinstall the theme while they are disabled.
If you don’t have too many plugins, list them here and I may be able to spot ones that might cause trouble.
Hey bud. First, words cant begin to describe how much I appreciate you taking time to help me with this.
Now..
I deactivated ALL plugins and reinstalled the theme.. nope, not working. I even tried different versions of the theme and same thing. Is there any way to keep my site intact but do a fresh install of wordpress and still have everything there? Im so desperate at this point. Thanks very much 😀
Zach
If it is not the plugins, then it is more likely that you have been hacked. There is likely some malware code somewhere that is adding the extra code to functions.php.
You can reinstall WP without losing anything by going to Dashboard->Updates and clicking ‘Reinstall Now’, but I doubt that it will clear the problem.
Can you put the infected functions.php in a pastebin and post a link to it here so I can see the code?
Hey. Here is the code for the arras theme functions.php
http://pastebin.com/ASeUsE2r
thanks!
Any luck friend? I dont know what to do :'( :'( this will ruin my business
The code in the file you posted didn’t LOOK like malicious code, so I don’t know what to make of it.
Look to see if that code is in any other functions.php file. Go to Admin->Appearance->Editor and select a different theme from the dropdown on the right. Edit its functions.php and see if you find any of the bad code there.