How plugins work
WordPress on its own can manage pages, posts and images. Everything else is added by plugins. You install them in the admin area with one click, and they add a new feature: a contact form, an online shop, translations into other languages, backups, a cookie banner or SEO settings. Even WooCommerce is actually a plugin.
Plugins are written by thousands of different authors, from large companies to individuals. Some are free in the official WordPress directory; others require an annual licence that includes updates and support.
Why it matters
Plugins let you build a website faster and more cheaply, because you do not have to code everything from scratch. But every plugin is someone else's code running on your website, and that brings three risks:
- Security. Outdated plugins are the most common way attackers get into WordPress.
- Speed. Every plugin adds code, and some load their scripts on every page even if you only need them on one.
- Conflicts. Two plugins that do similar things can get in each other's way, and after an update the website stops working.
Example
A guesthouse in the Orava region has a website with 40 plugins. Half were installed years ago by someone "just to try", three do the same thing (backups) and two have not been updated by their authors for years. The website is slow, and every now and then a foreign link appears on it. After a clean-up, 15 plugins remain, the website loads much faster and updates run without problems.
Tips for choosing and managing plugins
- Check when the plugin was last updated, how many active installations it has and how the author responds to questions.
- Do not install a plugin for a small thing that can be solved with a few lines of code.
- Do not just deactivate unused plugins; delete them as well.
- Never download paid plugins for free from unofficial websites. They often contain malicious code.
- Make a backup before updating, and ideally test changes on a staging copy first.
A custom plugin
When no ready-made plugin does exactly what you need, or you would have to combine three different ones, it is often better to have your own written. It does only what it should, loads nothing extra and stays under your control. I write custom add-ons like this for WordPress and WooCommerce for clients quite often. I also keep clients' plugins regularly updated as part of website management.