Guide · Updated October 2026

WordPress Theme Licensing and GPL Explained: A Comprehensive Guide

WordPress theme licensing is primarily governed by the GNU General Public License (GPL), which ensures software freedom for users to run, study, modify, and distribute works. This means all themes, whether free or premium, must comply with the GPL for the PHP, HTML, CSS, and JavaScript components that interact with WordPress.

Do it yourself in about a minute

Install Themify and get your first conversion free — no credit card.

Chrome browser logoAdd to Chrome — free

What is the GPL and Why Does it Matter for WordPress Themes?

The GNU General Public License (GPL) is a widely used free software license that guarantees end-users the freedom to run, study, share (copy), and modify the software. For WordPress, this is foundational: the platform itself is licensed under GPLv2 or later. This commitment to open source extends to all components that function as 'derivative works' of WordPress, which includes themes and plugins.

When a WordPress theme is licensed under the GPL, it means its source code is open and accessible. This has profound implications for developers and users alike. Developers can build upon existing themes, customize them extensively, and distribute their modifications without fear of legal repercussions from the original author, provided they also license their derivatives under the GPL. Users benefit from the transparency, flexibility, and community-driven improvements that an open-source license encourages.

Understanding the GPL is crucial for anyone building or using WordPress sites. It dictates your rights and responsibilities, ensuring that the WordPress ecosystem remains vibrant, innovative, and accessible to everyone. Without the GPL, the collaborative spirit that underpins WordPress might not exist, potentially leading to a more restrictive and proprietary development environment.

It's important to differentiate between the theme's code and bundled assets. While the PHP, HTML, CSS, and JavaScript of a theme must adhere to the GPL, assets like images, fonts, and some premium third-party libraries (especially those not directly interacting with WordPress functions) might be licensed separately under different terms. Always check the theme's documentation for specific asset licensing details.

The Four Freedoms of the GPL and Their Theme Implications

The GPL is built upon four core freedoms that empower users and ensure the continued openness of the software. These freedoms are directly applicable to WordPress themes, shaping how they are developed, distributed, and used.

Understanding these freedoms clarifies what you can and cannot do with a GPL-licensed WordPress theme, ensuring you stay compliant and leverage the full power of open source.

For example, if you acquire a theme that isn't openly available, perhaps from a client who purchased it, you are still free to study its code, modify it for their site, and even create derivative works if you wish, provided your modifications are also GPL-licensed.

  • **Freedom 0: The freedom to run the program as you wish, for any purpose.** You can install a GPL-licensed WordPress theme on as many websites as you own or manage, for personal or commercial use, without needing additional licenses per site. There are no restrictions on how you use the theme.
  • **Freedom 1: The freedom to study how the program works, and change it so it does your computing as you wish. Access to the source code is a precondition for this.** This means you can freely inspect, debug, and modify any part of a GPL-licensed theme's code (e.g., `functions.php`, `style.css`, `index.php`). You can customize it extensively to fit your or your client's exact needs.
  • **Freedom 2: The freedom to redistribute copies so you can help your neighbor.** You are free to share copies of a GPL-licensed theme, whether original or modified, with anyone you choose. You can even sell copies, provided you also make the source code available under the GPL.
  • **Freedom 3: The freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.** If you modify a GPL-licensed theme, you are free to distribute your modified version. However, your modifications must also be licensed under the GPL, ensuring that the freedoms are passed on to subsequent users. This is often referred to as the 'copyleft' aspect of the GPL.

How Theme Authors Navigate GPL: '100% GPL' vs. Mixed Licensing

While WordPress itself is GPL, and themes are derivative works, the implementation of GPL by theme authors can vary. This leads to common distinctions like '100% GPL' themes versus those using 'mixed licensing' or separate licenses for certain assets.

A **'100% GPL' theme** means that all components, including PHP, CSS, JavaScript, and often bundled fonts, icons, and even images, are explicitly licensed under the GPL. This offers maximum freedom and clarity for users, as there are no ambiguities about what can be modified or redistributed.

**Mixed licensing** is more common. In this model, the core theme files (PHP, HTML, CSS, JavaScript interacting with WordPress functions) are GPL-licensed, as required. However, other bundled assets, such as premium fonts (e.g., Typekit, Google Fonts that require specific licenses), stock photography, custom icons, or sometimes even advanced JavaScript libraries (e.g., jQuery UI, Swiper.js, if not GPL-compatible themselves), might be under different, more restrictive licenses. These might be proprietary licenses that limit redistribution, require separate purchases for commercial use, or restrict modifications. Theme authors often use this approach to incorporate high-quality, commercially-licensed assets while still adhering to the GPL for the functional core of the theme.

It's crucial for users and developers to carefully review the licensing terms provided by the theme vendor, typically found in the theme's documentation or a `license.txt` file within the theme directory (e.g., `wp-content/themes/your-theme/license.txt`). Misinterpreting these terms can lead to legal issues, especially if you plan to redistribute modified versions or use certain assets in commercial projects outside the scope of the original theme.

What Happens When You Ignore GPL Licensing?

Ignoring the GPL, whether intentionally or inadvertently, can have consequences ranging from ethical concerns to potential legal action, though the latter is relatively rare in the WordPress theme space due to the nature of the community and enforcement challenges.

The primary issue arises when a developer takes a GPL-licensed theme, modifies it, and then attempts to distribute or sell it under a proprietary license, or without providing the source code. This directly violates Freedoms 2 and 3 of the GPL, which stipulate that derivative works must also be GPL-licensed. While direct lawsuits from individual theme authors are uncommon, they are not unheard of. More often, the community itself will call out such practices, leading to reputational damage.

Another scenario involves distributing pirated copies of premium themes. While premium themes are technically GPL-licensed for their code, the purchase often includes support, updates, and access to premium assets that are not necessarily GPL. Distributing a premium theme without permission, even if it's GPL, deprives the original author of revenue for their work, support, and non-GPL assets. This is an ethical violation and can sometimes fall under copyright infringement for the proprietary elements.

For agencies and freelancers, using illegally obtained themes or ignoring licensing terms can impact their professional reputation. Clients expect their sites to be built with legitimate components. Compliance ensures you're building on a solid, legal foundation and upholding professional standards. Always ensure themes are sourced legally and that you understand the full scope of their licensing.

Practical Steps: Installing a GPL Theme and Verifying License

Installing a GPL-compliant WordPress theme is straightforward, whether it's a free theme from the WordPress.org repository or a premium theme purchased from a vendor. Verifying its license helps ensure you understand your rights and obligations.

The process is largely the same for any WordPress theme, but paying attention to certain details can confirm GPL compliance.

  1. **Obtain the Theme:** Download your theme. For free themes, this is usually directly from WordPress.org. For premium themes, you'll purchase it from a vendor (e.g., Themeforest, independent developer sites). The download will typically be a `.zip` file.
  2. **Install via WordPress Dashboard:** Navigate to `Appearance` → `Themes` in your WordPress admin area. Click `Add New` at the top, then `Upload Theme`. Choose the theme's `.zip` file and click `Install Now`. WordPress will automatically unpack and install the theme.
  3. **Activate the Theme:** Once installed, click the `Activate` link or go back to `Appearance` → `Themes` and click `Activate` under your new theme.
  4. **Verify GPL Compliance (Code):** After installation, you can manually check for license files. Using an FTP client or your hosting's file manager, navigate to `wp-content/themes/your-theme-name/`. Look for files like `license.txt`, `GPL.txt`, or `README.txt`. These files often contain the full GPL license text or a clear statement about the theme being GPL.
  5. **Verify GPL Compliance (Themify Example):** If you're using a tool like Themify to convert a live webpage into a WordPress theme, the resulting `.zip` file will contain a `license.txt` that clearly states its GPL compatibility. This ensures that the generated theme's PHP, HTML, CSS, and JavaScript components, which are derived from a web page and integrated with WordPress, uphold the GPL freedoms. You can then install this Themify-generated theme exactly as described above, ensuring all parts interacting with WordPress are GPL-compliant.
  6. **Check Theme Headers:** Open the `style.css` file within your theme's root directory (`wp-content/themes/your-theme-name/style.css`). At the very top, you'll find the theme header comments. Look for a line like `License: GNU General Public License v2 or later` or similar. This is a standard practice for GPL-compliant themes.
  7. **Understand Bundled Assets:** While the theme's core code is GPL, be mindful of non-GPL assets (images, premium fonts, third-party libraries) that might be bundled. Their specific licenses will usually be detailed in the theme's documentation or separate license files. This is particularly relevant if you plan to redistribute the theme or its components.

Can You Sell GPL-Licensed WordPress Themes?

Yes, absolutely. The GPL explicitly grants you the freedom to distribute copies of the program, even for a fee. This often surprises those new to open-source licensing, but it's a fundamental aspect of the GPL.

The key distinction is that while you can sell a GPL-licensed theme, you cannot restrict the buyer's freedoms once they possess it. They retain all four GPL freedoms: to run, study, modify, and redistribute the theme, even for free or for a fee themselves. This means you cannot prevent them from giving away or reselling the theme you sold them. What you are typically selling is the initial access to the theme, your specific version of it, and often accompanying services like support, updates, or premium bundled assets (which may have their own separate licenses).

Many successful WordPress theme businesses operate entirely within the GPL framework. They sell themes, often offering value through superior design, robust functionality, comprehensive documentation, and dedicated customer support. The business model shifts from selling a restrictive license to selling convenience, quality, and service.

When selling a GPL theme, you must also provide the source code and ensure that the buyers are aware of their GPL freedoms. This is usually accomplished by including the GPL text with the theme files and clearly stating the licensing terms on your sales page or within the theme's documentation. The freedom to resell or redistribute the theme is what differentiates GPL from proprietary software, fostering a more open and competitive marketplace.

Frequently asked questions

Do I need a separate license for each website if I use a premium WordPress theme?
For themes licensed under the GPL, you typically do not need a separate license for each website. Once you've acquired the theme, you have the freedom to run it on as many sites as you wish. However, premium theme purchases usually include a license for support and updates for a set number of sites or a defined period, not for the software itself.
What's the difference between a GPL theme and a regular free theme?
All themes in the official WordPress.org repository are GPL-licensed. However, the term 'free theme' often refers to cost, while 'GPL theme' refers to its open-source license, which allows for free use, modification, and distribution. A premium theme might cost money but still be GPL-licensed.
Can I remove the theme developer's credit link from the footer of a GPL theme?
Yes, under the GPL, you have the freedom to modify the theme's code, including removing or changing footer credit links. While it's considered good practice to maintain attribution, especially for free themes, the GPL legally permits you to remove them without violating the license terms.
If I modify a GPL theme, do I have to make my changes public?
No, you are not obligated to make your modifications public. The GPL states that if you distribute your modified version, you must license it under the GPL and make the source code available to those you distribute it to. If you only use the modified theme on your own private websites and never distribute it, you have no obligation to share your changes.
Are plugins also subject to the GPL license in WordPress?
Yes, just like themes, plugins that interact with WordPress and are considered derivative works of WordPress are also expected and generally required to be GPL-licensed. This extends the same freedoms for use, study, modification, and distribution to the plugin ecosystem.

Try it in minutes — first conversion free

Themify is the fastest way to turn any live webpage into an installable WordPress theme (.zip). No coding, no rebuilding, no design handoff. Runs 100% locally in your browser.

No credit card required · 14-day money-back guarantee

Chrome browser logoAdd to Chrome — 1 free conversion