Support » Plugin: Wordfence Security - Firewall & Malware Scan » Gravity Scan badge code removal

  • Resolved wandriska

    (@wandriska)


    I cant recall wher I put the gravity scan badge code.
    Could someone remind me where it is.. (not in widgets)

    thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfdave

    (@wfdave)

    Hi @wandriska,

    I took a look at your site, and the gravity scan badge code is after and outside of the </footer>.

    I believe you should find the code in this file: /wp-content/themes/<your-theme>/footer.php.

    The entire badge code I found was:

    <a onclick="window.open('https://www.gravityscan.com/verify/01ea1a681e4482046b107a2235194ae84f93f3c1dd7d0dbc198ef11e41148111','gravityscan-verified-secure-site','width=760,height=470,left=160,top=170');return false;" href="https://www.gravityscan.com/verify/01ea1a681e4482046b107a2235194ae84f93f3c1dd7d0dbc198ef11e41148111" target="_blank" rel="noopener noreferrer"><img src="https://badges.gravityscan.com/badges/englishconfidenceunlocked.com-01ea1a681e4482046b107a2235194ae84f93f3c1dd7d0dbc198ef11e41148111" alt="Website Malware Scan" width="117" height="67"></a>

    Dave

    Thanks for the response Dave.
    I had a look at the footer php file ( both in the child theme and the main one just in case!) and I saw nothing about gravity scan in there.

    Andrew

    Plugin Support wfdave

    (@wfdave)

    Hi again,

    Can I have you do a search on your host to see where the offending code is?

    If you have your website’s source code on Windows:

    1. Open command prompt (Windows Key + R -> Run -> OK)
    2. Change directory to your document root (For example, cd C:\xampp\htdocs\)
    3. Run findstr /spin /C:"gravityscan.com" *.*

    If you have your website’s source code on Linux:

    1. Run grep -R 'gravityscan.com' /var/www/html (replacing /var/www/html with your document root)

    Let me know if you find the file! If nothing returns, it might be somewhere in the database and I’ll provide you with the steps to search there too.

    Dave

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gravity Scan badge code removal’ is closed to new replies.