Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="container_24 clearfix separator <?php echo of_get_option('blog_sidebar_pos') ?>">
- <div id="content" class="grid_15 <?php echo of_get_option('blog_sidebar_pos') ?>">
- <?php include_once (TEMPLATEPATH . '/title.php');?>
- <?php
- if (have_posts()) : while (have_posts()) : the_post();
- // The following determines what the post format is and shows the correct file accordingly
- $format = get_post_format();
- get_template_part( 'includes/post-formats/'.$format );
- if($format == '')
- get_template_part( 'includes/post-formats/standard' );
- endwhile; else:
- ?>
- <div class="no-results">
- <?php echo '<p><strong>' . __('There has been an error.', 'theme1845') . '</strong></p>'; ?>
- <p><?php _e('We apologize for any inconvenience, please', 'theme1845'); ?> <a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php _e('return to the home page', 'theme1845'); ?></a> <?php _e('or use the search form below.', 'theme1845'); ?></p>
- <?php get_search_form(); /* outputs the default Wordpress search form */ ?>
- </div><!--no-results-->
- <?php endif; ?>
- <?php get_template_part('includes/post-formats/post-nav'); ?>
- </div><!--#content-->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment