How to Install and Activate a WordPress Theme

How to Install and Activate a WordPress Theme

[This tutorial applies to WordPress weblogs running in a self-hosted environment, meaning that you've set up WordPress on a web host of your own. Maticpress  It doesn't apply to weblogs organised on totally free accounts.]

Installing a WordPress concept is very straightforward. WordPress styles available for obtain from various places on the Internet are generally packed in .zip information (i.e. Installing a WordPress concept involves nothing more than unzipping the .zip computer file into the appropriate listing of your WordPress set up, and initiating the concept from your WordPress management console.

Structure of a WordPress Theme

In purchase for you to set up your new WordPress concept properly, you need to comprehend basic principles of how the WordPress program interacts with styles. A WordPress concept needs three important information to be able to operate effectively with the WordPress administration:

An catalog.php file: This computer file is the controller of a WordPress weblog. Most WordPress styles also have other PHP information that signify various segments of a WordPress website, but catalog.php is the only truly necessary PHP computer file.

A design.css file: This computer file controls the look and structure of the WordPress-based web website using design definitions. It also contains the information that is used in the Handle Themes part of WordPress to show the concept name, edition, author, and description

A "screenshot" image: This picture is used to develop review of the corresponding concept in the Handle Themes part of the WordPress management. It can be any of the common web graphics information (png, jpg, gif), but it needs to be named screen shot. For example, screen shot.png, screen shot.jpg, or screen shot.gif.

If you've gotten your concept from an artist who knows what he's doing, you don't really need to bother about producing sure the concept is set up properly. If you're not sure, you might just want to double-check that you've got the primary information needed to set up your concept.

WordPress Directory Structure

The WordPress listing structure contains three folders in the root directory:




Under the wp-content listing there is a listing known as styles. Inside content dashboard is where you need to deposit your listing that contains your concept. Here's an example. Say I'm setting up a concept for a formula weblog. The concept is known as Recipe, and its listing structure looks like this





This concept would normally be packed in a .zip computer file. To use the concept, I would need to unpackage the computer file, then publish it (probably using FTP) into my WordPress styles listing. If I have WordPress set up on my web server under a listing known as weblog v, my listing structure would look like this:





Activating a WordPress Theme

After I publish the concept to the correct listing, I can now go to my WordPress management to stimulate it. After logging in to the WordPress administration area, I go to Appearances->Themes. I can see that my new concept is set up properly and ready to be activated, because I can see it in under Available Themes on the Handle Themes website.

Article Source :