Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content" class="clearfix">
- <div class="wrapper-outer">
- <?php // the loop ?>
- <div id="news-title">
- <h1>
- <?php
- if ( is_front_page() && is_home() ) {
- // Default homepage
- } elseif ( is_front_page() ) {
- // static homepage
- } elseif ( is_home() ) {
- echo __('News','bonfire');
- } else {
- //everything else
- }
- ?>
- </h1>
- </div>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <!-- BEGIN LOOP -->
- <?php get_template_part( 'includes/loop'); ?>
- <!-- END LOOP -->
- <?php endwhile; ?>
- <?php else : ?>
- <!-- BEGIN NO CONTENT FOUND -->
- <p><?php _e( 'Apologies, nothing found.', 'bonfire' ); ?></p>
- <!-- END NO CONTENT FOUND -->
- <?php endif; ?>
- </div>
- <!-- /.wrapper-outer -->
- </div>
- <!-- END #content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement