Posted by admin in
Internet on 07 4th, 2008 | one response
I am big fan of wordpress as a CMS but at the same time was wasting a lot of time to find a wordpress them of my choice. Then I decided to make some of my own wordpress themes.
Now here I am sharing with all how to design a wordpress them in a series of lessons.
This first lesson will try to cover a) Some Basic Rules and introduction of different terms 2nd lesson will be on Wordpress structure and hierachy
Basic Rulles
1. Like with every scripting luanguge whenever you open something in a tag please close it properly like <ul> <li> </li> </ul>
2. There should be minimum of two theme files which are essentially required for any theme to work 1. style.css and index.php
3. Creat a new theme folder which should be in a folder ./wp-content/theme
4. You should also know the list of files that can be used with a theme like
- style.css
- index.php
- home.php
- single.php
- page.php
- archive.php
- category.php
- search.php
- 404.php
- comments.php
- comments-popup.php
- author.php
- date.php
right now just look at these file names and i will dicsuss their usuage and details later.
Wordpress terms:
- Template - A set of codes that you can use in multiple places without having to write the same codes again and again.
- Template file - A file that contain one or
multiple sets of codes (templates). Every page is made up of multiple
template files. For example: index.php file, style.css file,
sidebar.php, etc.
- Theme or WordPress theme - All the files you’re
using: texts, images, codes, etc. Note: WordPress theme and WordPress
template(s) are two different things, despite some people consider them
the same.
- Post - Currently, you are reading a post. Furthermore, it’s simply an entry of your blog. In example, one page of a diary.
- Page - A special type of post that is not
orangized by categories. It is separate from the rest of your posts.
Note: In WordPress, page and Page are two different things. Whether you
capitalize the “P” makes a huge difference.
Hierarchy:
I will disscuss this in my next lesson.
Last 5 posts by admin
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
July 5th, 2008 at 9:55 am
Thanks……..Very kool information……Waiting for the next lecture……….