To the extent that this question is WordPress-related, here’s what you need to know:
Start with a file named index.php
.
Give that file the following markup:
<?php
get_header();
get_template_part( 'loop' );
get_sidebar();
get_footer();
?>
- The
get_header()
template tag will include a file namedheader.php
. - The
get_template_part( 'loop' )
template tag will include a file namedloop.php
- The
get_sidebar()
template tag will include a file namedsidebar.php
- The
get_footer()
template tag will include a file namedfooter.php
What you put inside those template-part files is entirely up to you.
For more detailed information, refer to the Codex: