How to Install and Activate a WordPress Theme

Installing a WordPress theme is quite straightforward. WordPress themes available for download from a variety of areas on the Net are commonly packaged in.zip files (i.e. theme-name.zip). Installing a WordPress theme requires absolutely nothing much more than unzipping the.zip file into the suitable directory of your WordPress installation, and activating the theme from your WordPress administration console.

Structure of a WordPress Theme

In order for you to install your new WordPress theme properly, you want to have an understanding of the basics of how the WordPress technique interacts with themes. WordPress portfolio themes wants three necessary files in order to function correctly with the WordPress administration:

o An index.php file: This file is the controller of a WordPress weblog. Most WordPress themes also have other PHP files that represent a variety of sections of a WordPress page, but index.php is the only genuinely necessary PHP file.

o A style.css file: This file controls the look and layout of the WordPress-primarily based web page working with style definitions. It also includes the data that is employed in the Manage Themes section of WordPress to show the theme name, version, author, and description

o A “screenshot” image: This image is utilised to create preview of the corresponding theme in the Handle Themes section of the WordPress administration. It can be any of the popular web graphics files (png, jpg, gif), but it desires to be named screenshot. For instance, screenshot.png, screenshot.jpg, or screenshot.gif.

If you’ve gotten your theme from a designer who knows what he’s carrying out, you do not seriously want to be concerned about producing positive the theme is set up correctly. If you happen to be not sure, you may possibly just want to double-check that you’ve got the basic files needed to set up your theme.

WordPress Directory Structure

The WordPress directory structure includes 3 folders in the root directory:

o wp-admin
o wp-content
o wp-includes

Beneath the wp-content folder there is a folder named themes. Inside this folder is exactly where you will need to deposit the folder that contains your theme. Here’s an instance. Say I’m installing a theme for a recipe weblog. The theme is named Recipe, and its folder structure appears like this:

recipe-blog/
index.php
style.css
screenshot.png

This theme would ordinarily be packaged in a.zip file. To use the theme, I would want to unpackage the file, then upload it (probably using FTP) into my WordPress themes folder. If I have WordPress installed on my web server below a directory referred to as blog, my directory structure would appear like this:

/WordPress/wp-content/themes/recipe-blog/

index.php

style.css

screenshot.png

Activating a WordPress Theme

Right after I upload the theme to the right directory, I can now go to my WordPress administration to activate it. Following logging in to the WordPress admin section, I go to Appearances->Themes. I can see that my new theme is installed properly and ready to be activated, mainly because I can see it in below Out there Themes on the Manage Themes page.