Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

The LICENSE file of a theme

Add the LICENSE file a theme needs before anyone may use it - which text to copy, where it goes, how the license is named in ezinfo.php, extension.xml and composer.json, and what the design wizard writes for you.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/license-file.md

On this page

The LICENSE file of a theme

This page is for designers who publish a theme. Without a license file, a published theme gives nobody the right to use, change or share it, whatever the README says. The Licensing choices pages help you choose; this page is about putting the choice into files. It is not legal advice.

What the published themes use

sevenx_themes_simple, cjw_themes_jumper and sevenx_themes_media are licensed GPL-2.0-or-later, like Exponential itself ("license": "GPL-2.0-or-later" in the root composer.json). GitHub shows "GPL-2.0" for them.

Step by step

  1. Get the official text of the license you chose from its publisher. For the GPL version 2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. Never retype or shorten it.

  2. Save it as LICENSE at the root of the theme (some repositories also keep LICENSE.md; one file is enough).

  3. Above it, or in the README, put your copyright notice (Copyright and author lines).

  4. Name the license in three more places, consistently:

    FileFormExample
    composer.json licenseSPDX identifierGPL-2.0-or-later
    ezinfo.php 'License'Full nameGNU General Public License v2.0 (or any later version)
    extension.xml <license>Full namethe same
  5. If parts of the theme are under other terms (a font, an icon set, photos), keep their license files next to them and list them in the README (Third-party fonts, icons and libraries).

What the wizards write

Check

head -3 extension/mytheme/LICENSE
grep -n "'License'" extension/mytheme/ezinfo.php
grep -n '<license>' extension/mytheme/extension.xml
grep -n '"license"' extension/mytheme/composer.json

Expected: the license's title on the first lines, and the same license named in the other three files.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x