$posts_per_page, 'paged' => $c_paged, ); $posts_qry = new WP_Query( $posts_args ); $max = $posts_qry->max_num_pages; }else{ global $wp_query; $max = $wp_query->max_num_pages; $c_paged = ( get_query_var( 'paged' ) > 1 ) ? get_query_var( 'paged' ) : 1; } $bigbulletin_default = bigbulletin_get_default_theme_options(); $bigbulletin_pagination_layout = esc_html( get_theme_mod( 'bigbulletin_pagination_layout',$bigbulletin_default['bigbulletin_pagination_layout'] ) ); $bigbulletin_pagination_load_more = esc_html__('Load More Posts','bigbulletin'); $bigbulletin_pagination_no_more_posts = esc_html__('No More Posts','bigbulletin'); if( $bigbulletin_pagination_layout == 'next-prev' ){ if( is_front_page() && is_page() ){ $c_paged = ( get_query_var( 'page' ) ) ? absint( get_query_var( 'page' ) ) : 1; $latest_post_query = new WP_Query( array( 'post_type'=>'post', 'paged'=>$c_paged ) );?> bigbulletin_get_theme_svg( 'arrow-left' ).esc_html__( 'Older posts', 'bigbulletin' ), 'next_text' => esc_html__( 'Newer posts', 'bigbulletin' ).bigbulletin_get_theme_svg( 'arrow-right' ), ) ); } }elseif( $bigbulletin_pagination_layout == 'load-more' ){ ?>
1 ){ echo ''; echo ''; }else{ echo ''; echo '