Created
August 11, 2015 11:06
-
-
Save wbxpress/d399c29c275b41f2a4c6 to your computer and use it in GitHub Desktop.
wbxpress-one theme's index file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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