don’t you have the files backup ?
ok let me help open your file one by one and delete that code but before that kindly take a backup either it is hacked so if you do wrong something then it restored again .
step one open index.php to edit it and remove the code use ftp for this or online file editor in your cpanel or whm whatever
and remove the code then change this permission to 644 means no edit not just read so nothing can written again to it.do this with every file you see the code remove it and change permission . may be solve the problem another solution is posting soon..
caution : whenever you want to install a plugin after changing the permission it won’t install because permission not allows.
Threat scan plugin gives extensive detail of themes, plugins, core, and everything that has suspicious / eval(base64 code in it.
– If this is your first hack then restoring from backup should be a clean restore
-Change admin password via Cpanel(Frontend)>Databases>phpmyadmin. Select your site in the left , type “users” on each page , select wp_users. Edit the first one which is user #1. Set new password function to MD5
-Check htaccess in the directory
– Check all index php files
-Use the salt generator to clear users login cookies.
@songdogtech, if the template matches the post, then it is a valid way to save time.
I read where WordPress was looking for more volunteers to take their valuable time to help out.
If the existing parties helping here are so judgmental as to new people helping, well, that explains a lot… and I’m sorry to see, hear, and experience it.
In what way does posting exactly the same response to questions that have already been answered 24 hours ago class as being “helpful”?