Skip to content

Instantly share code, notes, and snippets.

@wbxpress wbxpress/index.php
Created Aug 11, 2015

Embed
What would you like to do?
wbxpress-one theme's index file.
<?php get_header(); ?>
<?php if ( have_posts() ): ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php
the_posts_pagination( array(
'prev_text' => __( 'Previous', 'wbxpress-one' ),
'next_text' => __( 'Next', 'wbxpress-one' ),
'before_page_number' => '',
) );
//wbxpressone_the_posts_pagination();
?>
<?php else: ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.