Top Poster
#1 ramon fincken 281
#2 Site admin 3
#3 Ber|Art 2
#4 braddmark 1
#5 accentmedia 1
#6 Xarzu 1
#7 Jan 0
#8 roger beckers 0
#9 Christine 0
#10 nextstep 0
[wordpress][solution] Which template files for which pages?



Rating : 3 / 5

 
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..)
Beta
Want to be notified by email when this topic gets a reply?  
:: View next topic  
Author Message
ramon fincken
Site's programmer

Get a free globally recognized avatar
It's free!


Joined: 03 Aug 2007
Posts: 281
Location: A'dam/Diemen, The Netherlands

PostPosted: Sun Oct 19, 2008 12:09 pm    Post subject: [wordpress][solution] Which template files for which pages? Reply with quote

Which files in your template are related to which pages?
Read on below and you'll have a complete overview !

PS: If a file does not exist in your theme folder, wordpress will automatically choose index.php as a template file


  • style.css - The main stylesheet. This must be included with your theme.
  • index.php - The main template. If your theme provides its own templates, index.php must be present.
  • comments.php - The comments template. If not present, wp-comments.php is used.
  • comments-popup.php - The popup comments template. If not present, wp-comments-popup.php is used.
  • single.php - The single post template. Used when a single post is queried. For this and all other query templates, index.php is used if the query template is not present.
  • page.php - The page template. Used when a page is queried.
  • category.php - The category template. Used when a category is queried.
  • author.php - The author template. Used when an author is queried.
  • date.php - The date/time template. Used when a date or time is queried. Year, month, day, hour, minute, second.
  • archive.php - The archive template. Used when a category, author, or date is queried. Note that this template will be overridden by category.php, author.php, and date.php for their respective query types.
  • search.php - The search template. Used when a search is performed.
  • 404.php - The 404 Not Found template. Used when WordPress cannot find a post that matches the query.



Read on / Source:
http://boren.nu/archives/2004/11/10/ana...ess-theme/
Back to top
View user's profile Send private message Visit poster's website
Google adsense
Advertisement





PostPosted: Sun Oct 19, 2008 12:09 pm    Post subject: [wordpress][solution] Which template files for which pages?

Advertisement
Back to top
GravityForms
Advertisement





PostPosted: Sun Oct 19, 2008 12:09 pm    Post subject: [wordpress][solution] Which template files for which pages?

Advertisement
Gravity Forms Plugin for WordPress
Back to top
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
General forums
The world of freelance
Programming
Other projects
Poll
I love gifts

Yes goodies and presents! [2]
No but I love polls ! [0]

Related google ads
Where am I?
Hit me!