Easy Steps To Create WordPress Theme From HTML Template

How WordPress Theme Works


WordPress Theme File Structure

header.php // header file
footer.php // footer file
index.php // the index file
page.php // for your WP pages
single.php // for your WP posts
category.php // for your WP category
author.php // for your WP author
comments.php // for your WP comment
style.css // main stylesheet page for your WP
and some other files

Template Tags

Paste it into a <strong>index.php</strong> page in place of header section.

Paste it into a <strong>index.php</strong> page in place of footer section.

Paste it into a <strong>index.php</strong> page in place of sidebar section if any.

Your index.php is almost finished and below is your index page layout structure.


If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , ,