Temper
Menu

Importing

Bring in a theme or plugin from a zip, from WordPress.org, or from a GitHub or GitLab repository.

On this page

On Temper › Themes & Plugins, choose the Themes or Plugins tab, then Upload a zip, From WordPress.org or, with Pro, From GitHub or GitLab.

An import arrives as a working copy and opens in the editor. Nothing is installed or run on the site until you click Install. See Publishing.

Every import has an optional Folder name, used in wp-content/themes or wp-content/plugins. Leave it empty to keep the theme's or plugin's own folder name. To import a second copy of something that's already installed, give it a different folder name.

Upload a zip#

  1. Click Upload a zip.
  2. Choose the .zip file. It should contain one theme folder with a style.css inside, or one plugin folder with the main plugin file inside.
  3. Click Import theme or Import plugin.

Temper finds the theme or plugin folder inside the zip by itself. A zip that holds several themes or plugins is refused; import them one at a time. Zips with more than 10,000 files are refused too. If the upload fails, the zip may be larger than your server allows.

From WordPress.org#

  1. Click From WordPress.org.
  2. Enter the name from the directory address, such as twentytwentyfour or query-monitor, or paste the address, such as https://wordpress.org/plugins/query-monitor/.
  3. Click Import theme or Import plugin.

Temper looks the theme or plugin up on WordPress.org and downloads its zip. Only the name you entered is sent.

From GitHub or GitLab Pro#

  1. Click From GitHub or GitLab.
  2. Pick the Host, then enter the repository as owner/name (GitLab: group/name, or group/subgroup/name), or paste its address. Pasting a github.com or GitLab address picks the host for you.
  3. Optionally, enter a Branch (the default branch is used otherwise) and a Folder inside the repository, if the theme or plugin isn't the whole repository.
  4. Click Import theme or Import plugin.

Public repositories import without connecting. Private ones need GitHub connected or a GitLab token.

The project is linked to the repository, so you can pull its updates later. If your connection can push to it, it becomes your repository, and commits go there. If it can't (someone else's repository, say), it's kept as the source, which is only pulled from; connect a repository of your own from the Git menu to commit. See Link a repository.

When you set a folder, the project is named after it, unless it's a generic name such as src, theme, plugin or dist; then the repository's name is used.

What the import tells you#

After importing, Temper notes anything that would stop the project working here:

  • A child theme whose parent isn't installed. Install the parent before previewing.
  • A theme with no templates/index.html or index.php, which WordPress won't treat as a complete theme.
  • A plugin that needs a newer PHP or WordPress than the site runs.
  • A plugin whose Composer packages or JavaScript build aren't in the download. With Pro, run them from the Build tab before publishing. See Builds.