🔞 ADULT: Templates - Full Archive

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Templates

Templates are the files which control how your WordPress site will be displayed on the Web. These files draw information from your WordPress MySQL database and generate the HTML code which is sent to the web browser. Through its powerful Theme system, WordPress allows you to define as few or as many Templates as you like all under one Theme. Each of these Template files can be configured for use under specific situations. More information on creating Themes can be found at Theme Development.

General Theme Articles

Using Themes 
Basic information about using and installing themes and templates
Migrating Plugins and Themes 
Content information how to upgrade a theme for compatibility with new versions of WordPress
Theme Development 
How to develop and build your own themes
Theme Frameworks 
Build a child theme on the foundation of a parent theme. You can start with a theme that you like and easily modify the parts you want to change. Do more in less time.
Theme Review 
How to prepare your Theme for public release and submission to Theme Directory
I18n for WordPress Developers 
Internationalization, including a section on how to internationalize your theme
Theme Compatibility List 
List of which Themes are compatible with various Versions WordPress
Creating Admin Themes 
How to create a plugin that modifies the look of the Admin section
Integrating WordPress with Your Website 
Using WordPress with your existing website

Template File Articles

General References

Stepping Into Templates 
Introduction to the building blocks of WordPress Themes, the template files. Explains how they work together to build a web page and how template files can be included in other template files.
Template Hierarchy 
Description of the order of preference of templates for the generation of various pages. Briefly lists the various templates that WordPress checks for in the process of generating a requested page on the weblog.
The Loop 
Description of the WordPress Loop, which is the part of a template file that generates the content
The Loop in Action 
More about the WordPress Loop
WP Query 
WP Query is a class that refers to the $wp_query object used in the WordPress Loop. There are times when you may have to interact with the WP Query, for instance when creating multiple Loops, or when dealing with Conditional_Tags.

Header, Footer, Sidebar, and Content Sections

Designing Headers 
Customizing the header.php template file.
Adding Post Feeds to the Header 
How to add RSS feed links to your header template file
Customizing Your Sidebar 
Customizing the sidebar.php template file.
Customizing the Read More 
Customizing the look of Read More links on your excerpts
« Prev 
Customizing the look of next/previous post/page links
Styling Page-Links