WordPress building blocks · Part 1
How to pick a WordPress plugin (without regretting it)
The 30-second version
A plugin is code from a stranger running on your site, so check before you install. On its wordpress.org page, look at when it was last updated, what WordPress version it’s tested up to, how many sites use it, the 1-star reviews and whether support questions get answered. Search a vulnerability database like Wordfence Intelligence. Test it on a local copy first. Sometimes you don’t need a plugin at all. Afterwards, keep it updated, and delete plugins you don’t use: deactivated isn’t removed.
On this page
A few times a year we do a security pass on the sites we look after. Almost every time, the Wordfence scan flags at least one plugin as “abandoned”: nobody has updated it in years. It’s rarely anything important. Usually it’s a little plugin that changes the logo on the login screen, or a search-and-replace tool someone installed for a migration years ago and never removed.
Nobody chose a bad plugin on purpose. They picked one that did the job that day, and nobody went back to check on it. This post is about choosing plugins you won’t have to worry about later, and knowing when you don’t need one at all. The examples use a made-up shop, example-bakery.com.
A plugin is an app for your website
Your phone does a few things out of the box. Want it to do more, like order a taxi? You install an app. WordPress works the same way: it can publish posts and pages, and plugins add everything else, like contact forms, online shops and SEO tools.
Here’s the part people forget: every plugin is code written by a stranger, running on your site, with access to your site. Most of those strangers are lovely and careful. You still want to check before you hand over the keys.
Every plugin is another door
Picture your site as a bakery. Every plugin is another door into the building. A well-kept plugin is a door with a good lock that someone checks every week. An abandoned plugin is a back door with a lock nobody has looked at in years.
More plugins means more doors to keep locked, and more updates to keep up with. Plugins are one of the most common ways attackers get into WordPress sites. If you want to see what that looks like when it goes wrong, here’s what to do when your site’s been hacked.
Before you install: six checks
Search for the plugin on wordpress.org and open its page. Most of what you need is in the box on the right-hand side. These checks take about five minutes, and they’ll save you from most bad picks.
Here’s a look at a popular, well-established plugin: Yoast SEO

Step 1:Look at “Last updated”
This is the first thing I look at. WordPress changes, PHP changes, and new security problems are found all the time, so a well-kept plugin gets updated regularly.
- Within the last 6 months: good.
- 6 months to a year: worth a closer look. Some small, simple plugins don’t need many updates.
- 1 to 2 years or more: a warning sign. This is roughly when Wordfence starts calling a plugin abandoned.
Step 2:Check “Tested up to”, plus the WordPress and PHP versions
Tested up to is the newest WordPress version the plugin’s author says they’ve tested it with. WordPress version and PHP version are the minimums it needs to run. Compare them with your site (you’ll find yours in Tools → Site Health → Info).
The “not tested with the latest 3 major releases” banner
If the author hasn’t updated the Tested up to number in a while, wordpress.org shows a yellow banner saying the plugin hasn’t been tested with the latest three major releases of WordPress.
The banner comes from a number the author types in, not from wordpress.org testing anything. A plugin with the banner might work perfectly, and a plugin without it can still be neglected. Treat it as a reason to look closer, not a verdict.
Step 3:Check “Active installations”
More sites using a plugin means more people spotting bugs and more pressure on the author to fix them. A plugin on a million sites isn’t automatically safe, and a plugin on 2,000 sites isn’t automatically bad. But for something important, like a shop or a form that collects personal details, I want lots of other people relying on it too.
Popular plugins are also bigger targets for attackers, which is one more reason they need to be updated quickly.
Step 4:Read the 1-star reviews and the support forum
The 5-star reviews tell you the plugin works when it works. The 1-star reviews tell you what happens when it doesn’t, and whether the author responds. Read a few, and look at the dates: a pile of angry reviews from last month matters more than one from 2019.
Then check the Support box. Issues resolved in last two months shows how many recent questions were answered. Click View support forum and scan the latest threads. Are people getting replies, or shouting into the void?
Step 5:Find out who makes it
Plugins are made by companies, small teams and individual developers. All of these can be great. Just know which one you’re getting.
A company usually has paid support and someone to take over if a developer leaves. A single developer might be brilliant and quick to reply, but if they move on or lose interest, the plugin can stop getting updates overnight. That’s how most of those “abandoned” plugins in our scans got that way.
Step 6:Check its security history
Search for the plugin’s name in a vulnerability database. These list known security problems in plugins and whether they’ve been fixed:
- Wordfence Intelligence: free, and the one I’d start with.
- WPScan: free for non-commercial use.
- Patchstack: has a free tier.
Finding something isn’t automatically bad news. Popular plugins have problems found in them all the time, because lots of people are looking. What matters is how fast each one was fixed. Fixed within days: good sign. Still open after months: walk away.
Picking a plugin, start to finish
- Do I need a plugin?Maybe WordPress or a few lines of code can do it
- Check the plugin pageUpdated, tested, used, supported
- Check its security historyKnown problems fixed quickly?
- Test it on a local copyNever try a new plugin on the live site first
- Install it on the live siteAfter a fresh backup
- Keep it updatedOr delete it when you stop using it
Free vs paid
Lots of plugins come in more than one flavour:
- Free: everything is free, usually from wordpress.org. Support is through the forum, when the author has time.
- Freemium: a free version on wordpress.org, with a paid version or paid add-ons for extra features. This is the most common setup.
- Paid only: bought from the maker’s own website. These don’t appear in the wordpress.org directory, so the six checks are harder: look for a changelog (a list of updates and their dates) on their site instead.
Paid plugins are usually a licence, often per site, renewed every year. When a licence runs out, the plugin usually keeps working, but it stops getting updates. And a plugin that stops getting updates is on its way to becoming one of those abandoned back doors. Budget for the renewal like you budget for hosting.
Put the licence in the client’s name
Where I work, paid licences are always bought in the client’s name, not ours. It’s their site, and they’re free to choose who they work with. If they ever switch to a different developer, the licences go with them, and nobody has to untangle who owns what.
Never use “nulled” plugins
A nulled plugin is a pirated copy of a paid plugin, with the licence check removed, handed out for free on sketchy websites. They often have malware added. Whatever money it saves, cleaning up a hacked site costs far more. And they never get updates, so even a clean one becomes a risk.
Do I need a plugin at all?
Before installing anything, check whether WordPress already does it. For example, WordPress has made a sitemap for search engines since version 5.5. Visit /wp-sitemap.xml on your site and there it is. (SEO plugins replace it with their own, which is fine, but you don’t need a plugin just for a sitemap.)
Other times, the job is a few lines of code. Say example-bakery wants to add an analytics tag to every page. You could install a plugin that adds code to your site’s header, with its own settings screen, updates and door. Or you could write a tiny plugin of your own that does exactly one thing:
<?php
/**
* Plugin Name: Bakery Tweaks
* Description: Small, site-specific changes for example-bakery.com.
*/
// Stop if someone opens this file directly instead of through WordPress.
if (!defined('ABSPATH')) {
exit;
}
// Add the analytics tag to the <head> of every page.
add_action('wp_head', function () {
$id = 'G-XXXXXXXXXX'; // Your analytics measurement ID
?>
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_attr($id); ?>"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '<?php echo esc_js($id); ?>');
</script>
<?php
});Make a folder called bakery-tweaks in wp-content/plugins, put that file inside it, and it appears under Plugins ready to activate. The comment at the top is what tells WordPress it’s a plugin.
Why a little plugin, and not the theme’s functions.php? Because the code then stays put if the site ever changes themes. It’s also easy to find: anyone looking at the plugin list can see the site has custom tweaks.
If the site uses a cookie banner, check how it wants analytics added first. Some banners need to load the tag themselves, so they can wait for the visitor to say yes.
Test it before it goes live
Never try a new plugin on the live site first. Some plugins change the database the moment you activate them, and deactivating them doesn’t undo it. Try it on a local copy of the site instead. If you don’t have one yet, here’s how to make one.
Once it works locally, take a fresh backup of the live site, then install and set it up there.
Two plugins doing the same job will fight
Two SEO plugins both write the page title. Two security plugins both try to block the same requests. Two caching plugins both try to save copies of your pages. Pick one for each job.
Caching is where I see this most. One site I worked on had the page builder’s cache, WP Engine’s built-in cache, the browser’s cache, and a firewall plugin sitting in front of WordPress. A feature that loaded posts in the background kept showing old or wrong content. With four layers each able to serve a saved copy or intercept the request, finding the culprit meant switching them off one at a time.
Pick one caching layer (on WP Engine, use theirs) and don’t stack a caching plugin on top.
After you install: keep it safe
Choosing well is only half of it. A plugin that was great when you installed it can still become a problem later. A few habits help:
- Update promptly. When a security fix comes out, attackers read the same announcement you do, and start looking for sites that haven’t updated yet. Back up, update, check the site.
- Scan regularly. Wordfence or Sucuri will flag plugins with known problems, plus plugins that look abandoned or have been removed from wordpress.org.
- Keep an ear out. I check my host’s security notices every morning, and I follow a few WordPress news blogs. That’s often how I hear about a problem plugin before a scan finds it.
Deactivated isn’t deleted
Deactivating a plugin turns it off, but its files stay on the server. If those files have a security problem, an attacker can sometimes still reach them. And because the plugin is off, nobody notices it needs updates.
If you don’t use a plugin, delete it. That search-and-replace tool from three years ago? Delete it. You can always install it again the day you need it.
When a scan flags a plugin as abandoned, decide: if nobody uses it anymore, delete it. If the site still needs what it does, find a well-kept replacement (run the six checks again), or replace it with a few lines of code like the example above.
What I’d tell past me
Plugins are one of the first places bad actors try to get in. Protect them, keep them updated, and don’t put updates off until next week. Next week is when someone finds the hole.
This is Part 1 of a series on WordPress building blocks. Next up: custom post types, or how to give your site new kinds of content, like Recipes, alongside posts and pages.