Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created March 2, 2015 15:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save billerickson/95c86c368146f669167a to your computer and use it in GitHub Desktop.
<?php // don't include this
/**
* Remove Pagination from Homepage
*
*/
function be_remove_home_pagination() {
if( is_front_page() )
remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );
}
add_action( 'genesis_meta', 'be_remove_home_pagination' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment