May
06
Turning the Default Wordpress Theme into Something Wonderful: Structure
Wp-Theme Structure: Individual Posts, Archives, and Search Results

single.php:
Single.php is the template for displaying an individual (or single) post. It allows you to display different information on a post when a viewer is viewing only that post. It also includes an area for submittinf and displaying comments.
comments.php:
This holds the layout of your comment submission and display elements.
page.php:
Page.php is the template that displays what you create when you write new pages like About, Contact, etc.
archive.php:
Archive.php handles the organization and display of posts when searched by date (month, day, year), category, tag, author, and page. On the top of this file are several conditional statements that modify the subheader text.
search.php:
Search.php handles the organization and display of posts when searched through the searchform. It also includes what displays if no search results are found.
Press on to the next page: Last, but not least
Tags: theming, Tutorials, Wordpress




















May 8th, 2008 at 11:39
No offense, but what does this tutorial offer that isn’t already on the WP site?
There are tips like improving the SEO (adding keywords, favicon link in header.php) as well as deleting unwanted files…
May 9th, 2008 at 0:33
This is the first in a series of tutorials on modifying the default WP template. You’re right though, all this stuff can be found on the WP site. I just wanted to have a simple reference for the tutorial as it continues.
ClickPopMedia