How to Install an HTML Website Template on WordPress (Step by Step)

You found a website template you love, you already have WordPress hosting, and now you want the two to meet. The catch: an HTML template and a WordPress theme are not the same thing, and uploading the wrong zip is the most common reason people see "The package could not be installed" on their first try.
This guide explains how to get an HTML template onto WordPress, what your options are, and the exact steps for installing the WordPress versions of the themes on DoraPDF Websites.
HTML template vs WordPress theme: what is the difference?
An HTML template is a folder of plain files: an index.html page, a stylesheet or inline styles, scripts, fonts and images. You can drop it on almost any hosting and it works, because the browser simply opens index.html.
A WordPress theme is a package WordPress itself understands. At minimum WordPress expects a style.css file with a theme header and an index.php file. When you upload a zip in the theme screen, WordPress looks for these files. If they are missing, it refuses the upload.
So there are really three ways to get from "HTML template" to "running on WordPress":
- Convert it yourself into a theme (add
style.css,index.php, split the page into PHP template parts). This is what most "convert HTML to WordPress theme" tutorials describe. It works, but it takes developer time. - Paste the HTML into a page using a Custom HTML block. Fine for a small section, but full designs with their own scripts and fonts usually break inside a theme that already has its own styles.
- Use a template that ships with a WordPress version already. This is the quickest route, and it is how DoraPDF themes work: every theme can be downloaded both as an HTML zip and as a WordPress theme zip.
Where to get the WordPress zip from DoraPDF
There are two kinds of themes on DoraPDF Websites:
- Free themes (Haven for real estate, Tempo for a minimal online store, Morning for a café) download directly from the Websites page. You choose HTML or WordPress.
- Premium themes (for example Glacia, Terra, Burgr or Embr) are unlocked on your DoraPDF account. You sign in with Google on the Websites page, pay through NayaPay and enter the transaction ID. The theme unlocks on your account within a few hours. You then open Theme Studio for that theme, fill in your business details, let the AI adjust content or edit text, images and colours by hand, and download it as an HTML zip or a WordPress theme zip.
You can look at any theme before deciding: the Haven preview is a good free example, and the Glacia preview shows a premium scroll-animated store.
How to upload the theme to WordPress, step by step
- Download the WordPress zip (not the HTML zip). Do not unzip it.
- Log in to your WordPress admin (usually
yoursite.com/wp-admin). - Go to Appearance > Themes.
- Click Add New, then Upload Theme at the top.
- Choose the zip file and click Install Now.
- When WordPress says the theme was installed, click Activate.
- Open your site in a new tab. Your home page now shows the design.
Plugins that print code into the page header or footer (analytics, chat widgets, SEO plugins) keep working, because the theme still outputs WordPress's standard header and footer hooks.
Installing the HTML version on normal hosting instead
You do not need WordPress at all to put a template online. With the HTML zip, unzip it on your computer and upload everything inside the theme folder to your hosting: public_html on cPanel or Hostinger, or drag the folder into Netlify or Cloudflare Pages. index.html becomes your home page. This is often simpler for a one-page business site, and pages load fast because there is no database behind them.
Choose WordPress if you already run a WordPress site, rely on its plugins, or your host only offers WordPress. Choose plain HTML if you want the lightest possible setup.
Common errors and how to fix them
"The package could not be installed. The theme is missing the style.css stylesheet." You uploaded the HTML zip, or a zip that contains another zip. Download the WordPress version, and upload that file exactly as downloaded. If your computer unzipped it automatically (Safari does this), zip the theme folder again so the folder itself is inside the zip.
"The uploaded file exceeds the upload_max_filesize directive."
Your host limits upload size. Ask your host to raise the limit, or upload the unzipped theme folder to wp-content/themes/ with the host's file manager or FTP, then activate it under Appearance > Themes.
The design shows but a blog post page looks plain. These themes are built to show your designed home page. Your other WordPress content still exists; it just is not styled like the landing page. If you mostly need a business website, that is usually what you want.
Images or text are still the demo content.
Edit before you download. For premium themes, change everything in Theme Studio first. For free themes, open the HTML file in a text editor to change text, and replace pictures in the img folder with your own files using the same names.
Colours do not match my brand.
Colour values sit at the top of the style block (look for --accent). Change the hex code there, or set colours in Theme Studio for premium themes. If you need a palette, the Color Palette Generator gives you matching hex codes.
Tips before you go live
- Take a backup of your current site (most hosts have a one-click backup) before activating a new theme.
- Check the site on a phone. The Responsive Design Checker lets you preview your live URL at mobile, tablet and desktop widths.
- Compress your own photos before you swap them in. Large images are the main reason a nice-looking site feels slow; Image Compressor helps here.
FAQ
Can I upload an HTML template directly to WordPress?
Not as a theme. WordPress needs a theme package with style.css and index.php. Either convert the HTML into a theme, or download a version that already comes as a WordPress theme zip.
Do DoraPDF themes need a page builder plugin? No. You upload the theme zip and activate it. Editing happens before download (Theme Studio for premium themes) or in the files themselves.
Can I use the same theme on cPanel or Netlify instead? Yes. Download the HTML zip and upload its contents to any static hosting.
How do I pay for a premium theme? Sign in with Google on the Websites page, pay via NayaPay and enter your transaction ID. The theme unlocks on your account within a few hours.
Try the tools from this guide — free
Keep reading
Startup Landing Page Template: The Sections That Convert (Spectral and Embr)
Which landing page sections a startup needs, in what order, and how to build one fast with the Spectral or Embr template and Dora AI.
GuideHotel Website Template: Build a Resort or Travel Site With the Kage 3D Theme
Plan a hotel, resort or travel agency website and build it with Kage, a 3D scroll theme with rooms, gallery, reviews and a WhatsApp button.
GuideHow to Find Credible Sources for an Assignment (and Use AI Safely)
Find and evaluate credible sources for an assignment: a 5-question check, where to search, and how to verify leads from an AI study helper.