Hello Howdy, Welcome to the Swachchand!! WordPress is the best CMS nowadays and easy to do the setup. I’m writing this blog for WordPress beginners who want to know how to install WordPress themes on the localhost. please follow the below step to install the WordPress theme on the localhost.
If you have not read how to install WordPress on Localhost then please read it.
We can install Word Press theme by two methods. I will explain both methods in the detail below.
Method 1: Install a theme from the WordPress theme option
In this method, there are two types of installation and we will check both. you can use any one which you think easy to understand and do. Please do not use both types for the same theme.
Type1: Install the WordPress theme from WordPress.org Directory
a) After login into the admin site, you will see the “Appearance” menu title on the left-hand side menu as shown in the screenshot. When you hover the mouse you will see the “Theme” menu title. Please click on it.
b) After clicking, you will redirect to the theme page as shown in the screenshot. Click on “Add New” Button.
c) On the next page, you will see a bunch of WordPress themes from www.wordpress.org directory.
d) You can install any theme which you want to use or you can search themes by filtering Featured, Popular, Latest, and Favorites categories. Click on the “install” button which you want to install as shown in the screenshot.
e) After click on the install button, your theme will be installed in the directory directly. After installation, you will see the “installed” message. At the bottom of them, you will see the “Activate” button. Please click on the “Activate” button.
f) That’s It. you did it. Go the front end and you will see the magic.
Type 2: Upload theme
In this type, you can upload any theme which you have downloaded on your localhost.
a) Please follow the same steps till “b” from TYPE 1 After that, you will see an “upload theme” button at the top. Click on it. you will see the upload screen as shown in the screenshot.
b) If you have already download any theme then skip this step (I mean step B). you can purchase a premium theme also from the themeforest.net website. Those who are want to use a free theme from wordpress.org please go to https://wordpress.org/themes/ link and download any theme.
c) Save the download theme at your localhost. The downloaded theme should be in zip formate and do not extract it.
d) Now back to upload screen. you can drag and drop downloaded zip folder directly or can click the Browse button to upload the theme. Select the zip folder and select the Open button.
e) you will below screen then click on the Install now button.
f) Now you see the below screen. Click on the active button.
g) That’s It. You did it. you have successfully installed a theme. now visit the site to see the magic.
Method 2: Install Theme from the folder.
This is another method to install and activate the theme.
a) For this method, you need a theme folder. if you have downloaded the theme’s zip folder from any theme provider website or from wordpress.org then the extract it on your localhost. I have downloaded and extracted it on my localhost.
b) After extraction, please go to your theme folder. This is my project folder path D:\xampp\htdocs\demo\wp-content\themes. Make sure we need to place the folder under the themes folder.
c) After placing the theme folder, go the appearance > theme page. you will just copied theme in the listing.
d) Hover mouse on it and you will see the “Active” button. Click it. That’s it. you did it again.
That’s it !! please let me know how was the article via comment.