I would like to increase the number pagination

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 5 y, 1 mo by  Max.
Viewing 1 reply thread
  • Author
    Posts
    • #11625

      alsonmedia
      Member

      I would like to increase the number pagination

      ex: 1/2/3/4/5/6/7 … 129

      I saw an article in the forum were archive.php add code to the file.

      
      <?php
      /**
       * The template for displaying Archive pages.
       *
       * Learn more: http://codex.wordpress.org/Template_Hierarchy
       *
       * @package wpthms
       */
      
      get_header(); ?>
      	
      	<?php yt_before_primary(); ?>
      	
      	<div id="primary" <?php yt_section_classes( 'content-area', 'primary' );?>>
      		
      		<?php yt_primary_start(); ?>
      		
      		<main id="content" <?php yt_section_classes( 'site-content', 'content' );?> role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
      
      		<?php if ( have_posts() ) : ?>
      
      			<?php /* Start the Loop */ ?>
      			<?php yt_before_loop(); ?>
      			
      			<?php while ( have_posts() ) : the_post(); ?>
      			
      				<?php yt_loop_start(); ?>
      
      				<?php
      					/* Include the Post-Format-specific template for the content.
      					 * If you want to overload this in a child theme then include a file
      					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
      					 */
      					get_template_part( 'content', get_post_format() );
      				?>
      				
      				<?php yt_loop_end(); ?>
      
      			<?php endwhile; ?>
      			
      			<?php yt_after_loop(); ?>
      
      			<?php if( 'number' == yt_get_options( 'blog_pagination' ) )
      				yt_pagination_nav();
      			else
      				yt_direction_nav( 'nav-below' );  ?>
      
      		<?php else : ?>
      
      			<?php get_template_part( 'no-results', 'archive' ); ?>
      
      		<?php endif; ?>
      
      		</main><!-- #content -->
      		
      		<?php yt_primary_end(); ?>
      	
      	</div><!-- #primary -->
      	
      	<?php yt_after_primary(); ?>
      	
      <?php get_footer(); ?>

      But it had no response. How it could increase the pagination number?

    • #11659

      Max
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.