Install New Theme in WordPress Using PHP

Introduction

In this article I explain how to install a new theme in WordPress using PHP. First, login into your blog account and go to "Appearance" in the Dashboard. Then click on "Themes" in the new page that loads, as in the following:

image1.jpg

Then click on "Install Themes", as in the following:

image2.jpg

And choose from the options. If you want to search for themes and find a theme based on specific features then you can choose colors, columns, width, features, and subjects searching for and finally click on find themes, as in the following:

image3.jpg

Then select a keyword and click "Search", as in the following:

image4.jpg

And your new themes will be opened; you can choose these themes and click on "Install now". Such as, I want to choose themes like:

image5.jpg

And after your theme is installed, click on activate, as in the following:

image6.jpg

You will see how the new theme looks on your blog; scroll up to the top of the page and click "Visit Site".

image7.jpg

image8.jpg