π Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
fujibow.file.com
/
wp-content
/
themes
/
cocoon-master
βοΈ
Editing: pagination.php
<?php /** * Cocoon WordPress Theme * @author: yhira * @link: https://wp-cocoon.com/ * @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later */ if ( !defined( 'ABSPATH' ) ) exit; ?> <!--γγΌγΈγ£γΌ--> <div class="pagination"> <?php global $wp_rewrite; $paginate_base = get_pagenum_link(1); if(strpos($paginate_base, '?') || ! $wp_rewrite->using_permalinks()){ $paginate_format = ''; $paginate_base = add_query_arg('paged','%#%'); } else{ $paginate_format = (substr($paginate_base,-1,1) == '/' ? '' : '/') . user_trailingslashit('page/%#%/','paged');; $paginate_base .= '%_%'; } echo paginate_links(array( 'base' => $paginate_base, 'format' => $paginate_format, 'total' => $wp_query->max_num_pages, 'mid_size' => 2, 'current' => ($paged ? $paged : 1), 'prev_text' => '<span class="fa fa-caret-left fa-fx" aria-hidden="true"></span> ', 'next_text' => ' <span class="fa fa-caret-right fa-fx" aria-hidden="true"></span>', )); ?> </div><!-- /.pagination -->
πΎ Save Changes
β Cancel