There is a WP hack (probably several) that will modify the footer, usually by modifying the active theme code. Completely delete that theme (via your hosting File Manager), then reinstall the theme from the WP repository.
And, since your site was hacked, there are probably (most likely) other areas of your site that need to be ‘de-hacked’. Lots of help on the googles (and here, although hacked sites is not within allowable questions here) on how to de-hack a WP site.
Change all credentials (hosting, ftp, WP admin, database); inspect all files for added code, reinstall all themes/plugins from known good sources, update everything, and more.
Related Posts:
- Why is it important to deactivate a plugin before deleting it?
- Membership / subscription plugins – alternatives [closed]
- Using plural-only translation of register_post_status() in plugin
- Function to activate WordPress theme inside a plugin
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Restrict access and display for categories
- What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?
- Manually Removing Plugins
- Change My Basket text in the header of WooCommerce Artificer theme
- Recommendationf for Quiz Plugin that saves results [closed]
- shortcode doesn’t work
- Will WordPress username displayed somewhere in the site?
- recommended breadcrumb plugins with possibility for hiding “Home” link [closed]
- Manually installed plugin doesn’t show up
- upgrade plugin in wordpress
- Are Drop-ins harmful for wordpress website?
- building plugin and it is displaying above plugins page
- Is it dangerous to install unupdated plugins?
- Where to hook my plugin’s action
- load_theme_textdomain path
- More than one text-domain is being used because of the included templates for plugins
- How to update plugins with database updates if I use svn
- Plugins not showing in Multisite dashboard
- How to create an archive page (with links) for a date range?
- How can I force users to a particular subdomain to log in for MU (Multisite)?
- Why WordPress plugin url ajax doesn’t work?
- Added slug after URL permalink last slash returns different content
- Linux Permissions and Ownership for WordPress
- Disqus deleted comments are syncing with wordpress but active comments do not
- SQL to order by CPT results by user->display_name w/only user->ID known
- Plugin development: Buggy plugin preview
- Procedural Question on Plugin Installation
- Render custom php template into string
- Implementing an image hosting website using WordPress? [closed]
- WP-DownloadManager – Query most download per week/month etc
- How to test ‘upgrader_process_complete’ hook in plugin development?
- Woocommerce Shop page variation product button replace with add to cart button
- How to prevent additional code in functions.php to be removed once there is an update?
- Update a core option from plugin settings page
- Displayed content disappears when adding attributes to shortcode
- Thesis 2 custom Page
- What is the easiest way to rename a plugin (and also avoid plugin updates)
- Display linked articles at the bottom of post (like related posts)
- register_activation_hook() not working as expected
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- Running multiple security plugins
- Opening a JQuery modal window on click of a button with a JQuery plugin
- Can I clone plugin folder to another directory so that I don’t have to reinstall them?
- Is there a way to remove a tooltip of a plugin via custom CSS? [closed]
- Correct Plugin File Path
- strange shortcode error: does shortcodes requires any dependency?
- how to replace hostnames on certain external links?
- Custom PHP Page Using WordPress login
- How to completely hide a WordPress/BuddyPress Install? [closed]
- Facebook ‘Share’ and ‘Like’ on individual posts
- Creating teams of users in WordPress
- Share plugins, themes, and multi post in a multidomain network
- Removing the custom_image_header from wp_head
- Is it safe to use Web Invoice 2.1.0 without SSL?
- WordPress cron job running more than once
- How to properly replace the_content with the html in a php file?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- How to Add text value in Automatically in this conditions?
- wordpress fcm plugin not working on scheduled posts correctly
- Elementor: How to design Dropdown Select Box Navigation page like Chegg
- How to access a wordpress plugin page or add posts without doing it from the WordPress dashboard?
- Displaying all the images from all of my articles
- Problem with Date translation in WordPress
- Create new page in wordpress plugin which doesn’t exist
- Use WordPress Plugin without WP head
- install / update plugins remotely
- Why is my site still showing insecure icon even if I have SSL certificate?
- Forum creation with bbpress and front end
- Fatal error when activating my custom wordpress plugin
- Media Upload to custom database and Custom Directory
- Nested DIV’s across functions in PHP, do not seem to work
- TinyMCE how to add css when inputing a text
- Add image to post
- How to move WordPress gallery image out of the link?
- Restore Category Base
- Problems with installing and deleting plugins
- Is it possible Embed flexviewer in wordpress and how?
- Need to change contact email depending where user is from
- How to show an image popup when one clicks on an image thumbnail?
- Add page-link after post content. Before plugin
- What method should I use for a sidebar widget that reads latest posts?
- Include subtitle display to slideshow
- wp doesn’t recognize my plugin if I don’t login as WP user (or as WP Admin)
- How to make wordpress backend mobile optimized.?
- Visual Composer Data Source?
- WP Offload S3 Lite “Please setup GD or ImageMagick” noticed
- Possible to add “Template” selector to pages? Is Any Plugins are There..?
- Block Missing from Inserter When Following Block Tutorial
- How to Replicate Elementor Licensing Model
- How do I save meta key value in the save function?
- Showing Search Engine Results in Elementor [closed]
- Real estate schema markup not showing up on Rich Results test
- qTranslate‑X is not translating all shortcodes
- /wp-admin/plugins.php takes ages to load, and then 404s
- How to mirror or create a post system into a plugin page