Creating Your Own WordPress Theme - Intro

by Norhafidz on May 11, 2008

I finally get a chance to post on this blog after a long and busy examination week. Despite being busy, I a bit of my time learning how to create my own WordPress theme. Today, I finally understand why xhtml and CSS is a combination of an important language ;) . I would like to share with you guys what I learned so far.

Basically, a WordPress theme should comprise of 4 basic php files and a css file:

1) header.php

2) sidebar.php

3) index.php

4) footer. php

5) styles.css

That’s for a basic WordPress theme, you can have more php files for a more complicated theme, depends on its function. It takes me a day to understand and to code a ‘basic’ WordPress theme. Here’s the basic ruleof xhtml. ‘Close everything that you open, In orderly manner’. Here’s what I mean:

XHTML

 

Learn more about xhtml.That’s all for the intro part. I’ll be posting more about coding your own WordPress in the next post.

I’ll be going to Tioman today, In case you missed my post, you can check the post about tioman. So I won’t have a chance to update the blog for the coming days, 3 days to be exact. I would be glad to post some of my experience in Tioman. Make sure you be here for the next update!

{ 6 comments… read them below or add one }

1 exinco 05.11.08 at 3:58 pm

hi.
what is il?
is it suppose li (list item)

2 zuhairy 05.11.08 at 4:19 pm

i don’t know how to create my own theme. tapi teringin gak nak belajar camner nak buat. so, with your tutorial, it will give me an opportunity to learn about it. thanks!

3 hanep 05.12.08 at 5:48 am

hoho.. nampaknya dah bergiat dengan adsense theme.. boleh la beri ajaran banyak lagi. tq

4 Afzai Afandi 05.13.08 at 5:19 pm

hoho…lum mampu create own WP Themes. just edit script pd themes jer..

5 Norhafidz 05.14.08 at 7:19 pm

exinco, yea thanks. I’ve corrected it ;)

6 exinco 05.15.08 at 1:45 am

sharing is caring people say

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>