• Ok this theme is perfect just found one horrible flaw there is no next page on any Page or archive categories it only list 20 entries that is all what is causing this and what is the fix ASAP please

Viewing 1 replies (of 1 total)
  • Thread Starter waffenss

    (@waffenss)

    The fix for this can be done by modifying category.php file to this

    <?php get_header(); ?>
    
    <!-- Main Content -->
    <div class="container" id="main-container">
    
    	<div class="row">
    
            <?php get_exray_primary_sidebar(); ?>
    
            <?php get_exray_content_html_opening(); ?>
    
    			<?php Exray::load_breadcrumb(); ?>
    
    			<div class="content" role="main">
    				<?php if(have_posts()) : ?>
    
    						<div class="top-content">
    
    							<h5><?php single_cat_title( __('More from: ', 'exray-framework'), true ); ?></h5>
    							<hr class="content-separator">
    						</div> 
    
    					<?php while(have_posts()) : the_post(); ?>
    						<!-- The Loop of Post -->
    						<?php get_template_part('content', get_post_format()); ?>
    
    						<!-- If post format content, show post format content items -->
    
    					<?php endwhile; else :  ?>
    						<!-- If no Post Found -->
    						<h1><?php _e("No post were Found", "exray-framework") ?></h1>
    
    					<?php endif; ?>
    
                    <!-- Pagination for older / newer post -->
                    <nav class="pagination clearfix"  id="nav-below" role="navigation">
    
                        <p class="article-nav-prev"><?php next_posts_link(__('← Older Post', 'exray-framework')); ?></p>
                        <p class="article-nav-next"><?php previous_posts_link(__('Newer Post → ', 'exray-framework')); ?></p>
    
                    </nav>
    			</div>
    			<!-- end content -->
    		</div>
    		<!-- end span6 main -->	
    
    		<div id="primary" class="widget-area span3 main-sidebar" role="complementary">
    
    			<?php get_sidebar('sidebar'); ?>
    
    		</div>
    		<!-- end span3 primary left-sidebar -->	
    
            <?php get_exray_secondary_sidebar(); ?>  
    
    	</div>
    	<!--End row -->
    
    </div>
    <!-- End Container  -->
    <!-- End Main Content -->
    
    <?php get_footer(); ?>

    These lines are the fix in the above

    <!-- Pagination for older / newer post -->
                    <nav class="pagination clearfix"  id="nav-below" role="navigation">
    
                        <p class="article-nav-prev"><?php next_posts_link(__('← Older Post', 'exray-framework')); ?></p>
                        <p class="article-nav-next"><?php previous_posts_link(__('Newer Post → ', 'exray-framework')); ?></p>
Viewing 1 replies (of 1 total)
  • The topic ‘No next page on Categories or pages’ is closed to new replies.