Let us start by converting a XHTML designed by a designer kendhalin and template from OSWD. If you’re going to use this template, please give a credit to the designer also.
Getting Started
You need a XHTML / CSS editor to edit your pages. Just google it for free editor or have a look at this page Free Text Editors and download any one of the editor.
I’m using WAMP for local development, if you can get wamp server here WAMP. Working with WAMP is easy way to build your theme very quickly.
Theme Design
Well, create a directory under wp-content/themes directory and name it your choice. Using your text editor create a empty CSS file and name it as “style.css” and four empty “php files” as follows;
- index.php
- header.php
- footer.php
- sidebar.php
- style.css
Now, you have four empty files. Open style.css and add the below code, change the high lighted items and save it.
/*
Theme Name: Your Theme Name
Theme URI: http://wordpress.org/
Description: Some Description.
Version: Version Number(eg 1.0)
Author: Your NameAuthor
URI: Your Site Name
*/
Ok, now open index.php and the template code which want to convert in two different editor windows and just copy the entire template code into index.php
The views expressed here are my own and not necessarily those of Oracle and/or its affiliates or anyone else. Also the views and opinions expressed by visitors to this blog are theirs and do not necessarily reflect mine. I have been using oracle quite long time. I spent more time working on oracle & my blog www.dhanasekar.com