Advertisement
Ortund

Untitled

Dec 1st, 2011
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.68 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Index Template
  4.  *
  5.  * This template should not be shown.  It is a placeholder. Specific templates for each type
  6.  * of content are available.
  7.  *
  8.  * @package Hybrid
  9.  * @subpackage Template
  10.  * @link http://themehybrid.com/themes/hybrid/template-hierarchy
  11.  */
  12.  
  13. get_header(); // Loads the header.php template. ?>
  14.  
  15.     <div id="content" class="hfeed content">
  16.  
  17.         <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
  18.  
  19.         <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  20.  
  21.             <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
  22.  
  23.                 <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
  24.  
  25.                 <div class="entry-content">
  26.  
  27.                     <?php the_content(); ?>
  28.  
  29.                     <ul class="xoxo category-archives">
  30.                         <?php wp_list_categories( array( 'feed' => __( 'RSS', hybrid_get_textdomain() ), 'show_count' => true, 'use_desc_for_title' => false, 'title_li' => false ) ); ?>
  31.                     </ul><!-- .xoxo .category-archives -->
  32.  
  33.                     <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
  34.  
  35.                 </div><!-- .entry-content -->
  36.  
  37.                 <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
  38.  
  39.             </div><!-- .hentry -->
  40.  
  41.             <?php if ( is_singular() ) { ?>
  42.  
  43.                 <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
  44.  
  45.                             <?php } ?>
  46.  
  47.             <?php endwhile; ?>
  48.  
  49.         <?php else: ?>
  50.  
  51.             <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
  52.  
  53.         <?php endif; ?>
  54.  
  55.         <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
  56.  
  57.     </div><!-- .content .hfeed -->
  58.  
  59. <?php get_footer(); // Loads the footer.php template. ?>
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement