Guest User

Index.php

a guest
Oct 2nd, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  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 Graphene
  12. * @since Graphene 1.0
  13. */
  14. global $graphene_settings;
  15. get_header(); ?>
  16.  
  17. <div class="entries-wrapper">
  18. <?php
  19. do_action('graphene_index_pre_loop');
  20.  
  21. /* Run the loop to output the posts.
  22. * If you want to overload this in a child theme then include a file
  23. * called loop-index.php and that will be used instead.
  24. */
  25. while ( have_posts() ) {
  26. the_post();
  27. get_template_part( 'loop', 'index' );
  28. }
  29. ?>
  30. </div>
  31.  
  32. <?php graphene_posts_nav(); ?>
  33.  
  34. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment