I would like to increase the number pagination

This topic is: Not resolved

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

This topic contains 1 reply, has 2 voices, and was last updated by  Max 1 year, 9 months ago.

  • Author
    Posts
  • #11625

    alsonmedia
    Member
    Post count: 6

    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 yeahthemes
     */
    
    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
    Post count: 3150

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

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

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