Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (30 sloc) 1.36 KB
<?php get_header(); ?>
<div id="content-main" class="main" role="main">
<h1 class="section-title"><?php _e('Mozilla News','mozpress'); ?></h1>
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content-syndicated' ); ?>
<?php endwhile; ?>
<?php if (fc_show_posts_nav()) : ?>
<nav class="nav-paging">
<ul role="navigation">
<?php if ( $paged < $wp_query->max_num_pages ) : ?><li class="prev"><?php next_posts_link(__('Older posts','onemozilla')); ?></li><?php endif; ?>
<?php if ( $paged > 1 ) : ?><li class="next"><?php previous_posts_link(__('Newer posts','onemozilla')); ?></li><?php endif; ?>
</ul>
</nav>
<?php endif; ?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'onemozilla' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( "Sorry, we couldn't find any results for the requested archive. Perhaps try searching?", "onemozilla" ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php endif; ?>
</div><!-- #content-main -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>