WorPress:Using Themes
Before the advent of Themes, WordPress generated content using a single file, index.php, and files to support comment display and submission. A single style sheet controlled the presentation. All other pages, including the category and archive pages, were generated by passing parameters to the index.php page.
The new Theme system provides two convenient features.
- Physically Separate Components
- The new WordPress modular template files system provides a method to define separate physical PHP files for the different components of your WordPress site. This allows creation of unique designs and functionality for many special pages, such as category archives, monthly archives, and the individual entry pages.
- Quickly Change Layout and Design
- It allows users with appropriate permissions to quickly change the layout of the entire site by uploading a new theme and essentially flipping a switch in the admin panel.
The old method of generating pages will still work. If you are upgrading from v1.2 or v1.2.1 or v1.2.2, you can continue using your existing design. Keeping your older design will not prevent you from adding additional themes and easily switching between designs.
What is a Theme?[ ]
Fundamentally, the WordPress Theme system is a way to "skin" your weblog. Yet, it is more than just a "skin." Skinning your site implies that only the design is changed. WordPress Themes can provide much more control over the look and presentation of the material on your website.
A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a weblog. These files are called template files. A theme modifies the way the site is displayed, without modifying the underlying software. Themes may include customized template files, image files (*.jpg, *.gif), style sheets (*.css), custom WordPress:Pages, as well as any necessary code files (*.php). For an introduction to template files, see WordPress:Stepping Into Templates.
Themes are a whole new ball game. Let's say you write a lot about cheese and gadgets. Through the innovative use of the WordPress Loop and template files, you can customize your Cheese category posts to look different from your Gadgets category posts. With this powerful control over what different pages and categories look like on your site, you are limited only by your imagination. For information on how to use different Themes for different categories or posts, see WordPress:The Loop in Action and WordPress:Category Templates.
Get New Themes[ ]
The WordPress Theme Viewer is the official site for WordPress Themes which have been checked and inspected, and are free for downloading. The site features the ability to search by type and style, and offers a demonstration of the page view elements of the Theme.
Other sources for WordPress Themes may include:
- Alex King's WordPress Theme Competition
- AllinfoDir WP Themes
- Aviva WordPress Themes
- Balkhis Wordpress Themes
- Best WordPress Themes
- biboz.net Free WordPress Themes
- Blogging Pro WordPress Themes Category
- BlogoSquare Free Theme downloads and reviews
- Dirsurfer Themes
- Elegant Wordpress Themes
- ElegantDirectory WordPress Themes
- Free High Quality Wordpress Themes
- Free Sponsored Themes
- Free Wordpress Themes - Kate's Theme Viewer
- Free WordPress Themes on TemplateXtreme
- Free WordPress Themes
- Free Wordpress Themes
- Free WordPress Themes
- Free WordPress Themes
- Free WordPress Themes
- Free WorPpress Themes
- Free Wp Themes
- Free WP Themes
- Gallery for WordPress
- Genuine WP Themes
- GFXedit.com Themes
- Gii Themes
- Headsetoptions WP Themes
- High Quality Themes from rakCha
- How to Blog's List of 980+ Themes
- JohnTP's WordPress Themes Collection
- Kaushal Sheth's WordPress Theme Viewer
- Squeaky's - Madmouse Blog
- Mandarinmusing WP Themes
- Professional WordPress Themes
- ReviewMyTheme Free WordPress Template
- Skins/Themes for WordPress
- Smashing Wordpress Themes
- Themes for WordPress
- WordPress Garden - Theme reviews
- WordPress Support Themes forum
- WordPress Themes by Beng Hafner
- WordPress Themes by priss
- Wordpress Themes
- WordPress Wow Themes Gallery
- WordPressTheme.com
- WP Themes by Sadish
- WP Themes
- Yvo Schapp's WordPress Theme Generator
Using Themes[ ]
WordPress supplies two themes in its distribution for your initial use. You can switch between these two themes using the admin panel. Themes that you add to that directory will appear in the WordPress:Administration Panels > Presentation as additional selections.
Adding New Themes[ ]
There are many themes available for download that will work with your WordPress installation.
thumb|right|Presentation Theme PanelIf the theme that you are installing provides instructions, be sure to read through and follow those instructions for the successful installation of the theme. It is recommended that theme developers provide installation instructions for their own themes, because themes can provide special optional functionality that may require more steps than the basic installation steps covered here. If your theme does not work after following any provided instructions, please contact the theme author for help.
To add a new theme to your WordPress installation, follow these basic steps:
- Download the theme archive and extract the files it contains. You may need to preserve the directory structure in the archive when extracting these files. Follow the guidelines provided by your theme author.
- Using an FTP client to access your host web server, create a directory to contain your theme in the wp-content/themes directory provided by WordPress. For example, a theme named Test should be in wp-content/themes/test. Your theme may provide this directory as part of the archive.
- Upload the theme files to the new directory on your host server.
- Follow the [[WordPress:#Selecting_the_Active_Theme|instructions below]] for selecting the new theme.
Adding New Themes in cPanel[ ]
If your host offers the cPanel control panel, and the theme files are in a .zip or .gz archive follow these instructions. Note: This assumes the theme you download is a compressed (zip) file and the files in the zip file are in their 'named' folder.
- Download the theme zip file to your local machine.
- In cPanel File Manager, navigate to your themes folder. If you have WordPress installed in it's own folder called wordpress, you would navigate to "public_html/wordpress/wp-content/themes" and if WordPress is installed in your web-root folder you would navigate to "public_html/wp-content/themes".
- Once you've navigated to the themes folder in cPanel File Manager, click on Upload file(s) and upload that zip file you saved in Step 1.
- Once the zip file is uploaded, click on the zip file name in cPanel, then in the panel to the right, click on Extract File Contents, and that zip file will be uncompressed.
- Follow the [[WordPress:#Selecting_the_Active_Theme|instructions below]] for selecting the new theme.
Selecting the Active Theme[ ]
To select the active theme for your site:
- Log in to the WordPress WordPress:Administration Panels.
- Select the Presentation subpanel.
- From the Available Themes section, click on theme title (or theme screenshot) for the theme you wish to activate.
- To view the new look, click View Site at the top of the Panel's screen.
Your selection should immediately become active.
Creating Themes[ ]
If you are interested in creating your own theme for distribution, or learning more about the architecture of themes, please review the documentation regarding WordPress:Theme Development and WordPress:Designing Themes for Public_Release.
Theme Files[ ]
The following are the files typically included within a Theme.
- 404 Template = 404.php
- Archive Template = archive.php
- Archive Index Page = archives.php
- Comments Template = comments.php
- Footer Template = footer.php
- Header Template = header.php
- Links = links.php
- Main Template = index.php
- Page Template = page.php
- Popup Comments Template = comments-popup.php
- Post Template = single.php
- Search Form = searchform.php
- Search Template = search.php
- Sidebar Template = sidebar.php
- Stylesheet = style.css
== Moving from 1.2.x to 1.5 ==
For details on upgrading WordPress and your WordPress Theme from v1.2 to 1.5, see: Upgrade 1.2 to 1.5.
Theme Tools and Other Resources[ ]
These tools and resources will aid you in creating and/or enhancing themes.
Layout[ ]
- WordPress:Blog Design and Layout
- WordPress:Stepping Into Templates
- WordPress:Customizing Your Sidebar
- WordPress:Good Navigation Links
- WordPress:Next and Previous Links
- WordPress:Styling Lists with CSS
- WordPress:Creating Horizontal Menus
- WordPress:Dynamic Menu Highlighting
- FAQ Layout and Design
- WordPress Index Builder
- Photoshop Template for the WordPress Default Theme
Templates and Template Tags[ ]
- Template Files
- WordPress:Stepping Into Templates
- WordPress:Stepping Into Template Tags
- WordPress:Template Tags
- Developing WordPress Themes
- WordPress:The Loop in Action
- Template Tag Layout in simple to read form
- Anatomy of a WordPress Theme
- Templates and the is functions
- Dissection of a WordPress Theme
Tools and Resources[ ]
- WordPress:Designing Themes for Public Release
- WordPress:Know Your Sources
- WordPress:Validating a Website
- WordPress:Finding Your CSS Styles
- WordPress:CSS Fixing Browser Bugs
- WordPress Design Sandbox Article
- Working On CSS and the WordPress Theme (using a sandbox)
- From XHTML CSS to WordPress (making a Theme}
- Tutorial: How to Create a Wordpress Theme
- Coevolving Innovations guide to Installing Wordpress (including a Theme) on a web host with Fantastico and cPanel (at Wordpress 2.2.1)
- Tutorial: How to Install a Wordpress Theme
- Working with Multiple Themes Outside of the WordPress Installation Directory
Colors, Graphics, and Fonts[ ]
- Kubrickr - Changes Default Theme Header Images
- Header Graphics
- Creative Commons Images
- Image * After - Free Stock Image Library
- Free Icons Library
- Stock.xchng - Free Stock Image Library
- WordPress:Playing With Fonts
- WordPress:Developing a Colour Scheme
- Colr.org - For Finding Colors in an Image
- I Like Your Colors
- List of More than 70 Free Stock Photo Sites
- kuler - Create color palettes with this web app from Adobe Labs