A WordPress theme is a ready-made package that decides how your WordPress site looks and how its pages are laid out. Change the theme and the design changes. Because a theme is code that runs on your server, it takes part in every PHP upgrade and in your site’s security, not just in its design.
What is a WordPress theme?
A theme is a set of PHP templates, styles and scripts. Switch the theme and the same content appears in a different layout.
A theme contains template files that decide how a post, a page or an archive is put together, plus stylesheets, fonts, images and often some JavaScript. It also usually includes functions that add menus, widget areas, custom page types and options in the admin screen. In the WordPress system, the content stays in the database while the theme decides how to present it.
Themes range from simple, lightweight designs to large multipurpose packages with dozens of options and bundled features. Some are built for a page builder, and some come with their own bundled plugins. The bigger the package, the more code you run and have to keep current.
What a theme means for your PHP site
Which PHP version does your site report?
We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.
Since a theme is PHP, it must be compatible with the PHP version of your hosting. A theme written many years ago may call functions that have since been removed or changed. This shows up as warnings, a broken layout or a fatal error as soon as the host upgrades PHP.
The theme author’s notes on compatibility and the date of the last update are your first clues.
A theme that is no longer maintained is a risk for another reason. Any security problem found in it will not get a fix, and the theme stays on your server anyway. Treat a theme with no updates for a long time the same way you would treat a PHP version past its end of support: plan a move before it forces one.
How to check your theme
In the admin screen, open Appearance and then Themes to see the active theme and its version. Check the theme’s page or its author’s site for the latest version and for notes on PHP and WordPress support. If you made code changes yourself, find out whether they sit in a child theme.
If they do not, ask whoever built the site where those changes are documented.
Also look for unused themes. WordPress keeps themes installed even when they are not active, and they are still code on your server. Remove the ones you do not use after you have made a backup.
Theme problems and a fresh start
Sometimes the practical choice is not to update the theme but to leave it behind. If a heavy theme and a stack of plugins exist only to show a few dozen pages, a new build as a static website may be simpler to run. The design can be carried over, and the live site has no theme code running on the server during a page view.
That gives a smaller attack surface, though not a risk-free site.
Our PHP migration service moves a site to a modern stack or another host, and we can update PHP in WordPress to get it onto a supported PHP version when you want to keep your theme.
When to act
Act when your theme has not been updated for a long time, when the author states no support for your PHP version, or when the host announces a PHP change. Test on a copy first, and keep a way back.
Not sure how this applies to your site?
Ask a person to take a look. We check which PHP version your site runs and whether the fix is in, and tell you the next step.
Or have PHP updated right away: PHP update from $555 excl. VAT
Frequently asked questions
What is the difference between a theme and a plugin?
A theme controls the look and page structure of your site. A plugin adds features. In practice the line blurs, because many themes bundle features, and that is one reason a theme change can break more than the design.
What is a child theme?
A child theme is a small theme that inherits everything from a parent theme and holds only your own changes. When the parent theme is updated, your changes stay in place. Without a child theme, edits made directly in the parent can be lost.
Can an old theme block a PHP update?
Yes. A theme is PHP code, so it must work on the PHP version your host runs. An old theme can use features that newer PHP versions removed, which leads to warnings or a fatal error after the upgrade.
Do I need to keep my theme updated?
Yes, if it is still maintained. Updates fix bugs and security problems and keep it compatible with new WordPress and PHP versions. If the author has stopped updating it, plan a replacement.