Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Index Template
- *
- * This template should not be shown. It is a placeholder. Specific templates for each type
- * of content are available.
- *
- * @package Hybrid
- * @subpackage Template
- * @link http://themehybrid.com/themes/hybrid/template-hierarchy
- */
- get_header(); // Loads the header.php template. ?>
- <div id="content" class="hfeed content">
- <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
- <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
- <div class="entry-content">
- <?php the_content(); ?>
- <ul class="xoxo category-archives">
- <?php wp_list_categories( array( 'feed' => __( 'RSS', hybrid_get_textdomain() ), 'show_count' => true, 'use_desc_for_title' => false, 'title_li' => false ) ); ?>
- </ul><!-- .xoxo .category-archives -->
- <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
- </div><!-- .entry-content -->
- <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
- </div><!-- .hentry -->
- <?php if ( is_singular() ) { ?>
- <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
- <?php } ?>
- <?php endwhile; ?>
- <?php else: ?>
- <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
- <?php endif; ?>
- <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
- </div><!-- .content .hfeed -->
- <?php get_footer(); // Loads the footer.php template. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement