freePRnow.com Plans | Login    

Author Details
Katrina Wetzel
nrgthemes.com

How to Install and Activate a WordPress Theme


[This tutorial applies to WordPress websites running in a self-hosted surroundings, which means that you've set up WordPress on a internet host of your own.

freePRnow.com, 9/17/2017 - [This tutorial applies to WordPress websites running in a self-hosted surroundings, which means that you've set up WordPress on a internet host of your own. It will not apply to sites hosted on free WordPress.com accounts.]

Installing a WordPress theme is extremely straightforward. WordPress themes available for downloading from several locations on the Internet are generally packaged in . Zip files (i.e. theme-name. zip). Installing a WordPress theme entails only unzipping the . Zip file to the proper directory of your WordPress installation, and activating the subject from the WordPress administration console.

Structure of a WordPress Theme

For you to set up your brand new WordPress theme properly, you will need to comprehend the fundamentals of how the WordPress program interacts with topics. A WordPress theme requires three fundamental files so as to work properly with all the WordPress administration:

O An index.php file: This document is the control of a WordPress blog. Most WordPress themes also have other PHP files which reflect various sections of a WordPress site, but index.php is your only really necessary PHP file.

O A style.css file: This file controls the appearance and design of the WordPress-based site utilizing style definitions. In Addition, It contains the information That's utilized from the Manage Themes part of WordPress to display the theme title, version, author, and description

O A "screenshot" picture: This image is used to make preview of the corresponding motif from the Manage Themes part of the WordPress management. It can be some of the frequent net graphics files (png, jpg, gif), but it ought to be termed screenshot. As an example, screenshot.png, screenshot.jpg, or screenshot.gif.

If you have gotten your motif out of a designer that knows what he is doing, you do not actually have to be worried about ensuring the theme is installed properly. If you're unsure, you could only wish to double-check that you have obtained the basic files necessary to set up your theme.

WordPress Directory Structure

The WordPress directory structure Includes three folders from the root directory:

o wp-admin

o wp-content

o wp-includes

Underneath the wp-content folder there's a folder called topics. In this folder is the place you will need to deposit the folder which has your motif. Here's an illustration. Say I'm installing a motif for a recipe website. The theme is Named Recipe, and its own folder structure looks like this:

recipe-blog/

index.php

style.css

screenshot.png

This theme would ordinarily be packed in a . zip file. To use the subject, I would have to unpackage the file, then upload it (likely using FTP) in my WordPress themes folder. When I have WordPress installed on my web server below a directory called website, my directory structure would look like that:

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

index.php

style.css

screenshot.png

Activating a WordPress Theme

Once I upload the subject into the proper directory, I am now able to visit my WordPress management to trigger it. After logging into the WordPress admin section, I proceed to Appearances->Themes. I can see that my new theme is set up properly and ready to be triggered, because I will see it in under Available Themes about the Manage Themes page.

 

Plans | FAQs | Contact Us | Terms & Conditions | Privacy Policy