Getting hacked with WordPress is not a great thing to experience. Did you take a look at the Hardening WordPress codex page?
Most of the time you get extra PHP code in some of your WordPress Core, Theme and plugin files. I guess this happened to you too and tried to remove this. Could it be possible you removed too much? Try ‘reinstalling’ your theme from a newly downloaded zip file. Just replace your current directory.
I’ve one of my client’s sites get hacked I usually do:
- Transfer the site to a local development environment.
- Reinstalling a fresh copy of WordPress
- Reinstalling fresh copies of plugins.
- Reinstalling fresh copies of Theme.
- Manually check and copy all content of posts, pages etc.
I do this because you can never be certain you missed a bit of the hack!
Related Posts:
- How to stick the footer to the bottom of the page? [closed]
- How to remove version and thank you message from the admin footer
- Can i put ‘page’ at the bottom of each page?
- footer.php – twentysixteen child theme – social links menu to output font awesome icons
- How to edit footer
- How do i change the footer?
- Where is the admin bar instantiated?
- Using wp_register_style to load CSS in footer?
- editing footer text in JBST theme
- How to find the right file with inspector? [closed]
- What is this code in my theme’s footer.php causing chmod permission warnings? [closed]
- wp_footer hook not working inside a class if not single [closed]
- Identify the page I am viewing
- Removing a link below from footer
- WordPress Site footer on Firefox displays a error
- How to edit footer content
- Changing copyright year in Footer.php with Custom plugin
- footer does not respect css stylesheet
- How to fix the footer to the bottom of the screen
- Delete bullet points in footer menu [closed]
- Getting A Link below footer – Want to remove it. How?
- How can I change this footer.php code to call a random image on reload?
- Editing footer for one page, keeping it the same for others
- Place Footer at bottom of page with short text
- Can’t deregister / dequeue scripts in WordPress
- Code for changing the size of the footer block (background) and font size
- How to add another image on footer.php
- On just 1 (new) page of my site there appears a wordpress footer with copyright 2012 which I want to remove
- Footer not visible
- how to edit part of footer
- How to remove the footer from a theme
- footer display problem
- How I can Delete Footer without using plugin BlankSlate?
- My footer has disappeared but only on my home page
- Meta Slider Lite plugin shortcode in post not working
- Footer with next/previous posts
- Move jquery ui to footer
- How do I change the footer (Norma) [closed]
- Re-position footer and force it to drop below blog post excerpts on home page [closed]
- How can I completely edit the footer?
- How to edit the WordPress footer
- How to Keep footer link remain intact?
- Footer Missing in website [closed]
- CSS to make HTML page footer stay at bottom of the page with a minimum height, but not overlap the page
- Fix footer to bottom of page
- force footer on bottom on pages with little content
- How to make a sticky footer in react?
- How can I make my footer center to the bottom of the page?
- Flushing footer to bottom of the page, twitter bootstrap
- Verifying that I have fully removed a WordPress hack?
- What does wp-embed.min.js do in WordPress 4.4?
- How to load css in the footer [duplicate]
- If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?
- how to remove default jquery and add js in footer?
- How To Remove WordPress Version From The Admin Footer
- How to add javascript just before the closing body tag in the footer of WordPress
- WordPress site hacked. Has .htaccess been hacked?
- Auto get_header and get_footer on every template?
- Tips for finding SPAM links injected into the_content
- My add_action (wp_footer, ‘method’) is not calling?
- Scanning Database for malicious Data
- How to add code to just before closing body tag
- How can I add a custom script to footer of login page?
- wp_enqueue script my_javascript_file in the footer
- How Attackers write script into my php files?
- How to add JS in footer
- Is this a hacking script in function.php?
- How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?
- Hook for writing text string after footer scripts
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- Add script to footer – on post editor
- Wp_head and wp_footer vs wp_enqueue_script javascript files?
- enqueuing React script and hooking its target div fails to load script
- Share buttons on article footer
- What should I do about hacked server?
- Websites defaced by uploading script using theme editor
- What’s the effect if this malware if infected your WP?
- Add footer.php to WordPress child theme
- How can I find security hole in my wordpress site?
- Proper Javascript Implementation
- How to call a plugin function in footer.php
- How do you completely remove the default header and footer using functions.php?
- Malware on site [closed]
- Has anyone experience w/ WordPress (MultiSite) hidden users (possibly hacked)?
- Restrict access to xmlrpc.php
- Sharing Header Components Across Multisite
- How to find the backdoor of the hack
- How to prevent bot or someone to modify any file automatically?
- Why and how is twentythirteen adding a margin-top to my footer?
- My wordpress site was hacked – is my htaccess file compromised?
- Template part vs Sidebar (differences)
- Change directory where get_header(), get_footer() and get_sidebar() look for templates
- Move all the JS files to the bottom|footer, the right way
- Print string to footer using wp_footer option
- Putting footer content in a “page” – Doing it wrong?
- Inserting JS snippet in the footer if there is no wp_footer?
- My WordPress Blog sends malicious traffic to other sites [closed]
- Hacked website redirect, only on desktop, help with restoring it [closed]
- How do i disable/disallow and tags in TinyMCE?
- Strip HTML comments from plugins in header/footer