For those truly novice WordPress theme developers, it’s time to learn where the software actually keeps all of its theme files and folders. Every WordPress installation is bundled with a wp-content directory; this directory is generally used to contain everything a user might upload to the installation on their own, including plugins, image or other media uploads, and the WordPress theme files themselves.
WordPress themes are not contained in singular files, but are instead bundled together within a folder of their own. This folder is placed within the themes subdirectory located in the wp-content folder on the server. Within this directory are several PHP template files which control the look and feel of the site’s header, footer, and content areas independently. A stylesheet is included to give these pages a user-friendly design, and optional files can be included to extend a theme’s functions or add JavaScript scripts to a theme itself.
Themes themselves are located within the following directory on the server, which can be accessed and modified using a simple FTP client:
/home/public_html/wp-content/themes/
Of course, if a WordPress installation is in a subfolder within public_html this server path would differ slightly. It’s easy to understand, however, where and how to access a theme’s folder and associated template files.
This is a part of The Anatomy of a WordPress Theme tutorial.
The post The Anatomy of a WordPress Theme – Theme Location appeared first on Tutorial Mini.
Related posts:
- The Anatomy of a WordPress Theme
- WordPress Basic – Installing WordPress – Famous 5-Minute Install
- WordPress Basic – Installing WordPress – Things to Know Before Installing WordPress
via Tutorial Mini http://tutorialmini.com/the-anatomy-of-a-wordpress-theme-theme-location/
No comments:
Post a Comment