In this article, I will show you how to install themes by three ways: installing the free theme through the WordPress.Org theme library, installing by uploading the theme package in wordpress admin dashboard and the last one is to copy theme source code to your host/ localhost.
Find and install themes from the library
If you are new to WordPress, I recommend you to install only the free themes available in the WordPress.Org library because most of them are easy to use. – it is a standard WordPress , most secure – does not contain any malicious code.
To install a new theme for WordPress, go to Appearance -> Themes and press Add New.
Now you will see the list of themes in the WordPress.Org library, remember that this library has more than 7000 different themes. You can use filters to find a theme that suits your needs / needs.
After finding a theme you like, you click on the theme to view information and preview the theme. Please note that this preview feature is only symbolic but sometimes it will not display correctly and fully the features included in that theme.
If you like it then press the Install button to install.
And remember to click on the Activate button to activate it because after install, it is only save in /wp-content/themes-folder and not active yet.
After activation, go to Appearance -> Menus to set the menu and Apperance -> Widgets to add a few widgets to the sidebar for the best theme display. At the same time, many themes will have their own custom area item displayed on the left hand menu of the Dashboard, which we often call it Theme Options, if any then access that custom.
Install template by upload from your computer to website
Assuming you have a theme on your computer, zip it up to a .zip file. Note, you have to compress the folder of the theme, not the folder inside it.
For example, when decompressing, your theme must have the structure of /theme/style.css (File style.css is always located in the root of the theme) and you must compress it to .zip format, other extensions like .rar, .tar are wrong.
Once you have the zip file of the theme, go to Appearance -> Themes -> Add New -> Upload Theme.
Then upload the theme’s .zip file and activate it as usual. If it says missing style.css, it is because you are compressing with the wrong structure, extract and compress it as I said above.
Install theme by uploading directly to host / localhost
This method is used to do when you are limited to uploading capacity due to the theme is too heavy, it is to extract and upload the theme folder to /wp-content/ theme-name
After uploading, go to Appearance -> Themes and activate it because this time the theme you just uploaded has been displayed in it.
About installing the theme
When you see a demo of a theme, it doesn’t mean that it will display exactly the same as if you installed it. You must know, each theme has a different installation and want to be like the demo you also have to customize a lot (through the available options). Therefore, you should practice installing free themes in the library because there are many themes that are quite difficult to install, so that is the source of your best practice, finally you will feel that installing a theme like a demo is not too difficult.