Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Comparisons · Comparison

Theme vs Plugin: Where Should Features Live?

Short answer

A theme controls how your WordPress site looks, and a plugin controls what it can do. Put design in the theme and features that must survive a redesign in a plugin. That split keeps your content and your key features safe when you change the look of your site.

Key takeaways

  • A theme controls presentation, while a plugin adds features and behavior to a site.
  • Only one theme can be active at a time, but many plugins can run at once.
  • Switching themes changes the design, yet posts and pages stay in the database.
  • Deactivating a plugin stops its feature, but it does not remove your content.
  • Features that must survive a theme change belong in a plugin, not in a theme.
  • Use a child theme for design changes, so a parent theme update does not erase them.

What is the core difference between a theme and a plugin?

A theme controls how your site looks, while a plugin controls what your site can do.

Learn WordPress states the split in one line: themes control the presentation of content, and plugins control the behaviors and features of your site (Introduction to themes for developers).

That split is the rule to use when you decide where a new feature belongs.

  • Look: layout, fonts, colors, header, footer, and page templates
  • Features: forms, shops, backups, SEO settings, and membership tools
  • Content: posts, pages, media, and settings, which live in the database

What does a WordPress theme control?

A WordPress theme controls the layout, fonts, colors, header, footer, and page templates that visitors see.

The WordPress Codex describes themes as files and styles that work together to create a presentation for a site, and it notes that they separate presentation from system files (Theme Development).

Theme files live in wp-content/themes/, and a classic theme needs style.css and index.php as its two required files.

The free theme directory shows how wide the choice is. WordPress.org lists Astra with 1+ million active installs and a 4.9 out of 5 star rating as of November 2026 (Astra).

GeneratePress has 500,000+ active installs and a 4.9 out of 5 star rating, and WordPress.org notes that a fresh install adds less than 10kb (gzipped) to page size (GeneratePress).

Kadence also has 500,000+ active installs and a 4.9 out of 5 star rating as of November 2026 (Kadence).

You can compare three popular free themes in detail in our Astra vs GeneratePress vs Kadence guide.

What does a WordPress plugin do?

A WordPress plugin adds a feature or set of features, such as a contact form, a shop, or a backup tool.

The Plugin Handbook describes plugins as packages of code that extend the core functionality of WordPress, made up of PHP code with images, CSS, and JavaScript (What is a Plugin?).

Learn WordPress gives the same split in plain terms: themes control look and feel, while plugins add to or extend functionality (What is a plugin?).

The choice is large. The WordPress.org Book chapter on plugins puts the free directory at over 60,000 plugins, up from 30,000 in 2014 (Plugging into Plugins).

A later count by WP Goldmine put the directory at 69,664 plugins on 31 October 2026, which fits the same growth trend.

Before you install one, check that it is still maintained with our guide to finding abandoned plugins.

How do themes and plugins compare side by side?

Themes decide the look, plugins decide the features, and only one theme can be active while many plugins can run at once.

AspectThemePlugin
Main jobControls layout, fonts, colors, and templatesAdds features such as forms, shops, and backups
How many can be activeOne at a timeMany at the same time
Where you manage itAppearance > ThemesPlugins in the dashboard
Files live inwp-content/themes/wp-content/plugins/
What happens if you remove itDesign changes, content staysThat feature stops working
Typical examplesAstra, GeneratePress, KadenceWooCommerce, contact form, SEO, backup tools

The table shows why the two parts are not rivals. A theme shapes the page, and a plugin supplies the tools that sit on the page.

What happens when you switch themes?

Your posts, pages, and settings stay in the database, but the design, layout, and theme settings change.

Content is stored in the database, not in the theme, so a new theme shows the same posts with a new look.

Some theme extras do not travel with you. Widgets, menus, and theme settings may need to be set up again, and features built into the old theme may vanish.

That risk is the main reason to keep key features out of a theme. If a shop or a form lives only in the theme, a redesign can remove it.

Back up the site before you switch, as explained in our WordPress backup guide.

What happens when you deactivate a plugin?

The feature that plugin added stops working, but your posts, pages, and theme design stay in place.

Deactivation is not the same as deletion. Many plugins keep their settings and data after deactivation, so you can turn the feature back on later.

Deletion can remove more. Some plugins delete their data when removed, while others leave tables and settings behind, so check the plugin docs first.

Test a change on a staging copy when the plugin runs a shop, a form, or a payment flow.

When should a feature live in a theme?

A feature belongs in a theme only when it is part of the design, such as a header layout, a post layout, or a color scheme.

Good theme jobs include page templates, post layouts, header and footer design, and global fonts and colors.

Block themes make this clearer. They arrived with WordPress 5.9 in January 2022, and they use HTML block templates plus a theme.json file for design settings.

The Site Editor, under Appearance > Editor, lets you edit those templates, the header and footer, and global styles with blocks.

Design settings in theme.json version 3 need WordPress 6.6 or later, so check your version before you rely on newer design controls.

When should a feature live in a plugin?

A feature belongs in a plugin when it must keep working after a theme change, such as a form, a shop, or SEO settings.

Good plugin jobs include contact forms, online shops, backups, security scans, SEO metadata, and membership tools.

A child theme is the safe place for design changes. Learn WordPress notes that a child theme lets you modify a parent theme without changing its code (Child themes).

The same lesson warns that a theme update replaces the entire theme, so changes made to parent files are lost.

For code that is not about design, a small site-specific plugin is often a better home than a child theme, because it survives a theme change.

How much do themes and plugins cost?

Most themes and plugins start free, and paid versions usually cost $69 to $350 a year for a single site as of November 2026.

Thousands of free themes and plugins are listed on WordPress.org, and many paid versions add extra layouts, support, and updates.

Astra Pro costs $69 a year or $249 once for lifetime use on 3 sites, with a 14-day refund, according to the vendor pricing page (Astra pricing).

GeneratePress One starts at $99 a year for one site, and its lifetime plan costs $596 once for up to 100 sites, with a 30-day refund (GeneratePress pricing).

Kadence is sold as a bundle at $350 a year for 1 site, with larger plans at $599 for 10 sites and $799 for 25 sites (Kadence pricing).

Free versions are often enough for a small site. Pay only when the paid version adds a feature you will use each week.

Which should you pick for your site?

Pick the theme for the look you want, then add plugins only for the features you need, starting with the smallest set that does the job.

  • Blog: a light theme, plus a backup plugin and an SEO plugin
  • Shop: a theme that works with WooCommerce, plus WooCommerce and a payment plugin
  • Business site: a theme with clear page templates, plus a form plugin and a backup plugin
  • Portfolio: a theme with strong image layouts, plus a backup plugin and few extras

WordPress 7.1.4, released 28 October 2026, was the current release as of early November 2026, so check that your theme and plugins list support for it (WordPress 7.1.4).

Keep the plugin list short. Each extra plugin adds updates to track, so remove one when its feature is no longer used, and see our guide to speeding up WordPress for the next steps.

What mistakes should you avoid?

Avoid putting business features in a theme, editing a parent theme directly, and adding plugins you do not need.

  • Do not build a shop, a form, or a membership system into a theme file
  • Do not edit a parent theme, because the next update can erase your changes
  • Do not install two plugins that do the same job
  • Do not keep a plugin that has not been updated in years without checking it first
  • Do not switch themes on a live site without a backup and a quick check of key pages

If you need to change a template, use a child theme. If you need a feature to last, use a plugin.

Frequently asked questions

Can I use a plugin to change how my site looks?

Yes, some plugins change parts of the look, such as page builders and design add-ons. A theme still sets the base layout, fonts, and templates, so use a plugin for a single design feature and a theme for the site-wide look.

Do I need a plugin if my theme already has the feature?

Not always, but think about the next redesign. If the feature matters after a theme change, such as a form or a shop, move it to a plugin now. If it is only about the layout, it can stay in the theme.

How many plugins is too many?

There is no fixed safe number, because one large plugin can slow a site more than ten small ones. Judge each plugin by need, updates, and support. Remove any plugin whose feature you no longer use.

Will switching themes delete my posts or pages?

No, posts and pages live in the database and stay when you switch themes. The design changes, and some theme settings, widgets, and theme-only features may need to be set up again.

What is the difference between a child theme and a plugin?

A child theme changes the design of a parent theme without editing its files, so your design tweaks survive updates. A plugin adds a feature that works with any theme, so it is the right home for forms, shops, and other tools.

Are free themes and plugins safe to use?

Many free themes and plugins on WordPress.org are safe, but check the last update date, the tested version, the ratings, and the support replies first. Avoid copies from unknown sites, and keep every theme and plugin updated.

Sources

  1. Introduction to themes for developers Learn WordPress
  2. What is a Plugin? WordPress Developer Resources
  3. What is a plugin? Learn WordPress
  4. Child themes Learn WordPress
  5. Plugging into Plugins WordPress.org
  6. WordPress 7.1.4 WordPress.org
  7. Astra pricing Astra
  8. GeneratePress pricing GeneratePress

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test