• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Remove Genesis Previous and Next Page Pagination

This code can be added to any type of archive page to remove the pagination which normally displays after the loop of posts.

remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );

Simply add this line of PHP code before the closing genesis(); tag in any front-page.php, home.php or any file which generates a loop of posts.

This is what the code removes:

remove pagination front page

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.