X

How To Make Old WordPress Themes Compatible With New Versions

So you want to make your old WordPress themes compatible with newer versions of WordPress. With WordPress updates coming out more often, theme compatibility is something on a lot of people’s minds.

Some of the best WordPress themes that were created decades ago still work today and there’s nothing we need to do to keep them working with newer versions of WordPress. They are built on WordPress best practices and tend to work for a long time without any updates.

That said, it’s a safer bet to follow a process where you regularly update your theme when updates are available. Let’s break that down so you can understand why and how to go about it.

Why Update Your Theme Regularly?

Updates are really important for the security and performance of your WordPress theme. Theme developers can also introduce new features and fix bugs and security issues from time to time. They release new versions that you can install on your site.

If you skip a bunch of updates and then try to update from say version 2.0 to version 8.6, it could cause your site to break. There can be incompatibility issues with plugins installed on your site and other functionalities/integrations you’re using.

If you see an update available, run it as soon as you can.

Keeping that in mind, you should also update your WordPress core installation and WordPress plugins regularly for the same reasons.

In your dashboard, you’ll see notifications that a new version is available. You can view the details of the update. If you notice it’s a security fix, you should update immediately to avoid malicious attacks.

updates available

Security fixes are usually rolled out as minor updates. You can enable auto-updates for your WordPress site to update your site without your manual intervention.

With other updates such as new feature being rolled out, we recommend a process where you test the update first.

How to Update Your WordPress Theme

It’s best to take a backup of your site, create a staging site and test an update there. Once you know everything is functioning all right, then you can roll out the same update on your live site.

To update a theme, on your WordPress dashboard, go to Appearance » Themes. You’ll see if a new update is available. All you have to do is click on the update button to install the new version.

Update themes

WordPress will then download the theme package, unzip it, and replace the old files with the newer version.

This will overwrite all old theme files on your website. If you manually added custom code to your WordPress theme files, then you’ll lose those changes.

What Changes Can You Lose During a Theme Update?

Some of the changes you could lose include:

To avoid this, you’ll want to learn how to properly update your theme without losing any customizations.

You may also want to learn more about using a child theme. This will help you always make sure you can update your theme without losing any custom coding or changes you’ve made to your theme.

What Changes Will You NOT Lose During a Theme Update?

  • Any changes you make using the built-in WordPress theme customizer will not be lost. You can access this customizer in the Appearance » Customize page. It lets you modify your WordPress theme such as the header image, colors, layout, and custom CSS. Then it stores all changes in the WordPress database.
  • Any changes to WordPress widgets and navigation menus are also not affected by the theme updates.
  • If you’re using a popular theme like Astra and Ocean WP, you’ll get a companion plugin. These plugins let you add extra features to your theme. Any theme changes made using these companion plugins are also not affected by a theme update.
  • Custom WordPress layouts created using a WordPress page builder like SeedProd, Divi, or Beaver Builder, will not be impacted.
  • Other features that you have added to your website using a plugin are also safe. For example, your WordPress contact formsemail newsletter popups, Google Analytics, and more.

Now you’re all set to update your WordPress theme and keep it compatible with newer versions. If you find that your theme is no longer functioning properly, you could consider switching to a different theme.

Here’s a checklist you can follow before you make the switch: 12+ Things You MUST DO Before Changing WordPress Themes.

We also have a roundup of the best and most popular WordPress themes. Make sure you choose a theme and plugins that are backed by an active developer or team that’s maintaining the theme regularly. They usually test the themes to make sure it’s compatible with the latest versions of WordPress.

You can view these details on the theme or plugin page before you install them on your site.

really simple ssl last updated

If you see a warning like this that says the theme hasn’t been updated in a long time, it’s best to look for another one.

Activello not updated

We hope you found this guide helpful. You may also want to see What Exactly is a Widget-Ready WordPress Theme?

Comments   Leave a Reply

  1. My friend’s theme text editor and keywords field no loner work in her theme with the latest 5.5 update. She loves the theme, but doesn’t have full functionality.

  2. I have a WordPress theme that is obsolete. The author is no longer making updates and has removed it from being sold. It absolutely will not work with WordPress 5.4.2. When I update WordPress, the theme is completely messed up and looks horrible. I have to replace WordPress with an older version in order for it to work. I really like the theme. Will editing the PHP in the theme make it current or anything is there that can be done to get this theme updated?

  3. My WP theme King Power by Goodlayers will not work with php7 – any suggestions please? Can you upgrade a wp theme to be php7 compatible? You help would be greatly appreciated thank you: -)

  4. Donald McIntyre June 29, 2011 at 2:20 pm

    Leland, I disagree completely. As a user of the GuruQ Theme since the 3.0 version of WP it doesn´t break, but it doesn´t work either. When visitors ask a question it takes them to a “page not found” So at least this theme was fundamentally turned useless.

    Best, Donald.

    PS: I came here because of the title, is there a way of making an old theme work with the new WP versions?

  5. I’m working on a site, and the guy who own’s the server where the site is located upgraded to 3.0 just yesterday….. Now, the “top ads” part of the blog isn’t showing – Its the Beauty Magazine theme.

    It has a Buy Cialis link at the top that I can’t get off (but that was on there at least a week prior). The error in the theme didn’t occur until the upgrade…..hhmmmm….

    1. Danielle, it sounds like your WordPress site was hacked which seems to be a much more serious issue than the “top ads” part not showing up.

      If that’s a widget area, you may just have to reload the widgets.

  6. I upgraded to 3.0 and it won’t title my blog properly anymore. Not only will it not show the previous image it used to, it won’t even read the blog title – it simply is titled ‘liteword’ – the theme’s name. So to me, this upgrade seriously screwed up the theme I use!! Any idea how to get around this issue?

  7. No need to fix it if ain’t broken!

  8. I really think that the issue with theme development is making a theme compatible with OLD versions of WordPress. You may see, in plugins especially, function checks to see if the wanted function exists or uses a work-around otherwise. I have never seen a theme break or heard of a theme breaking after a new WordPress version release.

    Good article. Definitely worth a thought!

    1. Hey Matt, really good point.

      If a theme has a feature like post_thumbnails, and doesn’t use a function_exists check, it will cause a fatal error in anything before 2.9.

      I guess we can hope that users keep their WordPress installations up-to-date.

Add a Comment Cancel reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!