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.
1 | <?php get_header(); ?> |
Paste it into a <strong>index.php</strong> page in place of footer section.
1 | <?php get_footer(); ?> |
Paste it into a <strong>index.php</strong> page in place of sidebar section if any.
1 | <?php get_footer(); ?> |
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.
Article Tags: HTML 5, responsive html templates, responsive wordpress theme, wordpress