How to Disable Post Navigation on Single Pages | GeneratePress Theme

In this quick tutorial I will show you how to disable post navigation on Single Pages for both GeneratePress Free and Premium theme.

How to Add Custom PHP Code Snippet

You can use any one of the following plugin to add custom PHP code snippets to your WordPress website.

Disable Post Navigation (GeneratePress Free Theme)

Use the below PHP code snippet to disable post navigation for GeneratePress free theme

add_filter( 'generate_show_post_navigation', 'wpf_disable_post_navigation' );
function wpf_disable_post_navigation () { 
    return false;

Disable Post Navigation (GeneratePress Pro Theme)

Perform the below steps to disable post navigation for GeneratePress Pro theme

  1. Navigate to Appearance > Customize > Layout > Blog > Content
  2. Now click the “Single” tab
  3. Uncheck “Display post navigation” to hide the post navigation

Leave a Comment