PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
medifides
/
wp-content
/
themes
/
redbiz
/
tpl
<?php global $the_query; // Don't print empty markup if there's only one page. if ( $GLOBALS['wp_query']->max_num_pages < 2 ) return; $paged = get_query_var( 'paged' ) ? intval( get_query_var( 'paged' ) ) : 1; $pagenum_link = html_entity_decode( get_pagenum_link() ); $query_args = array(); $url_parts = explode( '?', $pagenum_link ); if ( isset( $url_parts[1] ) ) { wp_parse_str( $url_parts[1], $query_args ); } $pagenum_link = remove_query_arg( array_keys( $query_args ), $pagenum_link ); $pagenum_link = trailingslashit( $pagenum_link ) . '%_%'; $format = $GLOBALS['wp_rewrite']->using_index_permalinks() && ! strpos( $pagenum_link, 'index.php' ) ? 'index.php/' : ''; $format .= $GLOBALS['wp_rewrite']->using_permalinks() ? user_trailingslashit( 'page/%#%', 'paged' ) : '?paged=%#%'; // Set up paginated links. $links = paginate_links( array( 'base' => $pagenum_link, 'format' => $format, 'total' => $GLOBALS['wp_query']->max_num_pages, 'current' => $paged, 'mid_size' => 1, 'add_args' => array_map( 'urlencode', $query_args ), 'prev_text' => ( '<i class="fa fa-angle-double-left"></i>Prev' ), 'next_text' => ( 'Next<i class="fa fa-angle-double-right"></i>' ), ) ); $numeric_links = paginate_links( array( 'base' => $pagenum_link, 'format' => $format, 'total' => $GLOBALS['wp_query']->max_num_pages, 'current' => $paged, 'mid_size' => 1, 'add_args' => array_map( 'urlencode', $query_args ), 'prev_next' => false ) ); $next_link = get_next_posts_link( esc_html__( 'Next', 'redbiz' ) ); $prev_link = get_previous_posts_link( esc_html__( 'Previous', 'redbiz' ) ); $loadmore_text = apply_filters('themesflat/template/loadmore_text',esc_html__('Load More','redbiz')); $more_link = get_next_posts_link( esc_html( $loadmore_text) ); global $themesflat_paging_style; global $themesflat_paging_for; ?> <?php if ( $themesflat_paging_style == 'pager' && ! ( empty( $next_link ) && empty( $prev_link ) ) ): ?> <nav class="navigation paging-navigation pager" role="navigation"> <div class="pagination loop-pagination"> <?php echo wp_kses_post( $prev_link ) ?> <?php echo wp_kses_post( $next_link ) ?> </div> </nav> <?php elseif ( $themesflat_paging_style == 'numeric' && ! empty( $numeric_links ) ): ?> <nav class="navigation paging-navigation numeric" role="navigation"> <div class="pagination loop-pagination"> <?php echo wp_kses_post( $numeric_links ) ?> </div> </nav> <?php elseif ( $themesflat_paging_style == 'loadmore' && ! empty( $next_link ) ): ?> <nav class="navigation <?php themesflat_esc_attr($themesflat_paging_for);?> paging-navigation loadmore" role="navigation"> <div class="pagination loop-pagination"> <?php echo wp_kses_post( $more_link ) ?> </div> </nav> <?php elseif ( ! empty( $links ) ): ?> <nav class="navigation paging-navigation pager-numeric" role="navigation"> <div class="pagination loop-pagination"> <?php echo wp_kses_post( $links ) ?> </div> </nav> <?php endif ?>
[-] blog.php
[open]
[-] site-header.php
[open]
[-] page_fullwidth.php
[open]
[-] feature-post.php
[open]
[-] front-page.php
[open]
[+]
..
[-] related-post.php
[open]
[-] comming-soon.php
[open]
[-] page_single.php
[open]
[-] portfolio-related.php
[open]
[-] topbar.php
[open]
[+]
header
[-] pagination.php
[open]
[-] feature-post-single.php
[open]
[-] social-share.php
[open]
[-] page-title.php
[open]