Numeberic pagination on Archive/Tag page- Twelve twenty theme

 

Add following code after <?php endif; ?>  before </div><!– #content –>
in category.php tag.php

			
                        <?php 	
			global $wp_query;

			$big = 999999999; // need an unlikely integer

			echo paginate_links( array(
			'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
			'format' => '?paged=%#%',
			'current' => max( 1, get_query_var('paged') ),
			'total' => $wp_query->max_num_pages
			) );
			?>

 

Results

If you want to delete “Order Posts”, then delete below code in category.php tag.php

twentytwelve_content_nav( 'nav-below' );

Leave a Reply