Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <!--BEGIN .page-header -->
- <div class="page-header">
- <?php $blog = get_post(get_option('page_for_posts')); ?>
- <h1 class="page-title"><?php echo $blog->post_title; ?></h1>
- <!--END .page-header -->
- </div>
- <!--BEGIN #primary .hfeed-->
- <div id="primary" class="hfeed">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <!--BEGIN .hentry -->
- <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
- <!--BEGIN .entry-meta -->
- <div class="entry-meta">
- <span class="post-format"></span>
- <?php
- $format = get_post_format();
- if( false === $format ) { $format = 'standard'; }
- if( $format == 'standard' || $format == 'gallery' || $format == 'image' || $format == 'video' || $format == 'audio' ) {
- ?>
- <h5><?php _e('Posted:', 'framework'); ?></h5>
- <span class="published"><?php the_time( get_option('date_format') ); ?></span>
- <h5><?php _e('Comments:', 'framework'); ?></h5>
- <span class="comment-count"><?php comments_popup_link(0, 1, '%'); ?></span>
- <?php } ?>
- <?php if( is_user_logged_in() ) { echo '<h5>' . __('Edit', 'framework') . '</h5>'; } ?>
- <?php edit_post_link( __('edit', 'framework'), '<span class="edit-post">[', ']</span>' ); ?>
- <!--END .entry-meta -->
- </div>
- <?php get_template_part( 'includes/' . $format ); ?>
- <!--BEGIN .entry-content -->
- <div class="entry-content">
- <?php the_content(__('Read more...', 'framework')); ?>
- <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'framework').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <!--INSERT POST ENDING AFTER THIS SPACE --><?php the_tags('' . __('<h5>Tags:</h5>', 'framework') . ' ', ', ', '</span>' ); ?>
- <!--END .entry-content -->
- </div>
- <!--END .hentry-->
- </div>
- <?php comments_template('', true); ?>
- <?php endwhile; ?>
- <!--BEGIN .navigation .single-page-navigation -->
- <div class="navigation single-page-navigation">
- <div class="nav-previous"><?php previous_post_link('← %link') ?></div>
- <div class="nav-next"><?php next_post_link('%link →') ?></div>
- <!--END .navigation .single-page-navigation -->
- </div>
- <?php else: ?>
- <!--BEGIN #post-0-->
- <div id="post-0" <?php post_class() ?>>
- <h1 class="entry-title"><?php _e('Error 404 - Not Found', 'framework') ?></h1>
- <!--BEGIN .entry-content-->
- <div class="entry-content">
- <p><?php _e("Sorry, but you are looking for something that isn't here.", "framework") ?></p>
- <!--END .entry-content-->
- </div>
- <!--END #post-0-->
- </div>
- <?php endif; ?>
- <!--END #primary .hfeed-->
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement