Learning Wordpress - the internal guide - Presentation Transcript
WordPress for fun and profit CBSS The Gazette Company
BreakdownA little less than you ever wanted to know WordPress Overview Post & Pages Plugins All-in-One SEO, EmbedIt, Gravity Forms Widgets Themes PHP and WordPress Hosting and Access Questions
WordPress Overview http://en.wikipedia.org/wiki/WordPress WordPress is a very popular blog publishing application and content management system. It was first released in May 2003 by its co-founders Matt Mullenweg and Mike Little as a (considered the official) successor to b2cafelog. WordPress is a platform.
Posts
Pages
Categories
Tags
Users/Authors
More…
WordPress Posts & Pages
Add New
Edit Current
Title
Body
Images
Categories
Tags
Post Options (Sticky & Future)
Quick Edit
Difference between each
WordPress Plugins
View Installed
Add New
Upgrade
Activate/Deactivate
Settings
Common Plugins
EmbedIt
Gravity Forms
All-In-One SEO
WP-Spam Free
WordPress Widgets
What are they
How to add content
Available/Inactive
WordPress Themes
What are they
Why are they so cool
Anatomy of a WP Theme
How do I modify them
WordPress Theme Breakdown
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.
WordPress Template Post & Pages Home Page display 1. home.php 2. index.php Single Post display 1. single.php 2. index.php Page display WordPress Pages: 1. pagetemplate.php - Where pagetemplate.php is the Page Template assigned to the Page. 2. page.php 3. index.php
WordPress Template Cats & Tags Category display :: Category Templates: 1. category-id.php - If the category's ID were 6, WordPress would look for category-6.php 2. category.php 3. archive.php 4. index.php Tag display :: Tag Templates: 1. tag-slug.php - If the tag's slug were “sometag”, WordPress would look for tag-sometag.php 2. tag.php 3. archive.php 4. index.php
0 comments
Post a comment