index.php 875 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * The main template file
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10. *
  11. * @package WordPress
  12. * @subpackage Twenty Ten
  13. * @since 3.0.0
  14. */
  15. ?>
  16. <?php get_header(); ?>
  17. <div id="container">
  18. <div id="content">
  19. <?php
  20. /* Run the loop to output the posts.
  21. * If you want to overload this in a child theme then include a file
  22. * called loop-index.php and that will be used instead.
  23. */
  24. get_template_part( 'loop', 'index' );
  25. ?>
  26. </div><!-- #content -->
  27. </div><!-- #container -->
  28. <?php get_sidebar(); ?>
  29. <?php get_footer(); ?>