Installing a WordPress theme is incredibly straightforward. WordPress themes obtainable for download from various locations on the Net are generally packaged in.zip files (i.e. theme-name.zip). Installing WordPress reviews requires absolutely nothing a lot more than unzipping the.zip file into the appropriate 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 appropriately, you have to have to comprehend the basics of how the WordPress program interacts with themes. A WordPress theme wants three critical files in order to function properly 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 web page, but index.php is the only genuinely necessary PHP file.
o A style.css file: This file controls the appear and layout of the WordPress-primarily based web-site working with style definitions. It also consists of the information and facts that is used in the Manage Themes section of WordPress to show the theme name, version, author, and description
o A “screenshot” image: This image is employed to build preview of the corresponding theme in the Manage Themes section of the WordPress administration. It can be any of the common internet graphics files (png, jpg, gif), but it wants 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 undertaking, you do not actually need to have to be concerned about making certain the theme is set up appropriately. If you happen to be not sure, you might just want to double-verify that you’ve got the standard files necessary to set up your theme.
WordPress Directory Structure
The WordPress directory structure contains 3 folders in the root directory:
o wp-admin
o wp-content material
o wp-contains
Under the wp-content material folder there is a folder referred to as themes. Inside this folder is where you need to have to deposit the folder that includes your theme. Here’s an instance. Say I am installing a theme for a recipe weblog. The theme is known as Recipe, and its folder structure appears like this:
recipe-blog/
index.php
style.css
screenshot.png
This theme would commonly be packaged in a.zip file. To use the theme, I would need to unpackage the file, then upload it (likely working with FTP) into my WordPress themes folder. If I have WordPress installed on my internet server below a directory known 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
Following 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 correctly and ready to be activated, simply because I can see it in below Readily available Themes on the Manage Themes page.