Theme Author
Tom
(@edge22)
Hi there,
Yikes, that’s not good! Usually when something like that happens, it’s due to your site being hacked. This allows the hacker to insert malicious content/code into your files (WP, plugins or themes).
Your site getting hacked could be due to a few different factors – usually an out-of-date WordPress version, or shared hosting where someone else on your server has been hacked.
There’s no bad code shipped in the theme that would do this – you can view all of the code publicly here to confirm: https://github.com/tomusborne/GeneratePress
If you’d like help identifying the problem, or have more information for me to investigate, please open a support topic and I’ll be more than happy to help you: https://wordpress.org/support/theme/generatepress/
Thanks! 🙂