Easy Steps To Create WordPress Theme From HTML Template

| Last Updated: | In: WordPress


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.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , ,