How WordPress Theme Works

how-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.

index