2. Why create a theme?
● learn the fundamentals
● hard code plugin functionality
● reduce code bloat
3. How to create a theme
● Required files:
○ style.css
○ index.php
4. How to create a theme
● Template hierarchy is important.
● Start developing the most basic template
and create more specific templates as you
go.
● http://codex.wordpress.
org/Template_Hierarchy
5. How to create a theme
● The Loop is the <?php
if ( have_posts() ) :
basic code block
while ( have_posts() ) :
used to display your the_post();
content. endwhile;
● http://codex. else:
?>
wordpress.
<p>Sorry, no posts
org/The_Loop matched your criteria.</p>
<?php
endif;
?>