Skip to content
Tips

How to Install a WordPress Theme: 3 Methods

Install a WordPress theme from Appearance, then Themes, then Add New Theme, by searching the directory or uploading a .zip file. Here are all three methods and fixes for common errors.

By Mike Updated November 5, 2026 4 min read

Tremhost Wordpress Hosting

To install a WordPress theme, log in to your dashboard, go to Appearance, then Themes, click Add New Theme, and either search the free directory or upload a theme’s .zip file, then click Install and Activate. It takes a couple of minutes. If the upload fails, you can also add the theme through your hosting control panel’s File Manager or by FTP.

This guide covers all three methods, what to do before and after switching themes, and how to fix the most common errors.

Before you install a theme

  • Take a backup. Changing themes changes how every page looks, and some themes add settings or content. A backup lets you undo it. If your site is on cPanel hosting, see how to take a backup.
  • Get themes from trusted sources. Use the official WordPress.org theme directory or a reputable theme developer. Avoid “nulled” (pirated) premium themes. They often contain hidden malware or backdoors.
  • Check compatibility. Look at when the theme was last updated, which WordPress and PHP versions it supports, and whether it works with plugins you rely on, such as WooCommerce.
  • Test on staging if you can. On a business site, try the new theme on a staging copy first.

Method 1: Install from the WordPress theme directory

Use this for free themes listed on WordPress.org.

  1. Log in to your dashboard at yourdomain.com/wp-admin.
  2. Go to Appearance > Themes.
  3. Click Add New Theme at the top of the page.
  4. Browse the Popular or Latest tabs, search by name, or use the feature filter to narrow by layout and features.
  5. Hover over a theme and click Preview to see a demo.
  6. Click Install. When it finishes, the button changes to Activate.
  7. Click Activate to make it your live theme, or Live Preview to see it with your own content first.

Method 2: Upload a theme .zip file

Use this for premium themes or themes downloaded from a developer’s website.

  1. Download the theme from the seller. Make sure you have the installable theme .zip file.
  2. In your dashboard, go to Appearance > Themes > Add New Theme.
  3. Click Upload Theme.
  4. Click Choose File, select the .zip file and click Install Now.
  5. When the upload finishes, click Activate.

Many premium themes are sold as a larger package containing documentation, demo content and the theme itself. If so, unzip the package on your computer first and upload only the theme’s own .zip file.

Method 3: Upload through File Manager or FTP

Use this if the dashboard upload fails, for example because the file is larger than your server’s upload limit.

  1. Log in to your hosting control panel, such as cPanel, and open File Manager. Or connect with an FTP client.
  2. Go to your WordPress folder (often public_html), then wp-content/themes.
  3. Upload the theme’s .zip file to this folder.
  4. In File Manager, right-click the file and choose Extract. With FTP, unzip the file on your computer first and upload the theme folder.
  5. Make sure the result is a single theme folder, such as wp-content/themes/theme-name, with the style.css file directly inside it.
  6. Delete the .zip file, then go to Appearance > Themes in WordPress and activate the theme.

After you activate the theme

  • Customise it. For a block theme, use Appearance > Editor to edit templates, colours and fonts. For a classic theme, use Appearance > Customize.
  • Check menus and widgets. Different themes use different menu locations and widget areas, so you may need to reassign them.
  • Install required plugins. Some themes recommend companion plugins. Only install those you need.
  • Test on mobile. Check the home page, a post, a page, the contact form and any shop pages on a phone.
  • Clear caches. Clear any caching plugin and your CDN cache so visitors see the new design.
  • Remove unused themes. Keep one default theme as a fallback, and delete the rest. Inactive themes can still be targeted if they are outdated.

Use a child theme for code changes

If you plan to edit the theme’s PHP or CSS files, create a child theme first. Theme updates overwrite the parent theme’s files, but a child theme keeps your changes. Small CSS tweaks can go in the Additional CSS area of the Customizer or in the Site Editor instead.

Fixing common errors

“The uploaded file exceeds the upload_max_filesize directive”

The theme is larger than your server allows. Raise the PHP upload limit in your hosting control panel (in cPanel, usually under the PHP version or INI settings), or use Method 3.

“The package could not be installed. The theme is missing the style.css stylesheet”

You uploaded the full download package, not the theme itself. Unzip the package and look for the theme’s own .zip file inside.

“Destination folder already exists”

The theme is already installed. Activate it from Appearance > Themes, or delete the old copy before uploading a new one.

White screen after activating

The theme may be incompatible with your PHP version or a plugin. Rename the theme’s folder in wp-content/themes through File Manager. WordPress will fall back to a default theme so you can log in again.

Frequently asked questions

Will changing my theme delete my content?

No. Posts, pages and media stay in the database. Layout, menus, widgets and some theme-specific settings or shortcodes may need redoing.

Can I install a theme on WordPress.com?

This guide is for self-hosted WordPress (WordPress.org software on your own hosting). WordPress.com plans have their own rules for uploading themes.

Are free themes safe?

Themes in the WordPress.org directory are reviewed before listing. Keep them updated and avoid themes that have not been updated for a long time.

Next step

If you do not have WordPress yet, see how to install WordPress on Tremhost hosting. If you would rather have updates, backups and malware scanning handled for you, look at Tremhost managed WordPress hosting, where updates are tested on staging before they go live.

Ask us on WhatsApp