• I have tried

    .post-navigation {
    display: none;
    }

    This works visually, but the code is still there in the dom and visible to google. Is there any way to remove the post navigation through some PHP completely? This navigation is not good for internal linking since it links unrelated pages.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m thinking you’re referring to the NEXT/PREVIOUS POST links at the end of posts.

    You can easily turn this off at APPEARANCE => CUSTOMIZE => LAYOUT => BLOG.

    Note that this is a PREMIUM feature, so you’ll only see it if you’ve installed the companion GP Premium plugin and you’ve activated the “Blog” feature at APPEARANCE => GeneratePress.

    If you’re only using the free version, you’ll need to use the generate_show_post_navigation filter to turn it off. If you need help with this, please let me know.

    Good luck!

    Hi there,

    you can use this PHP Snippet to disable the post navigation:

    add_filter( 'generate_show_post_navigation', '__return_false' );

    Thread Starter tyealia

    (@tyealia)

    Thank you so much for the help! Hope to get premium soon, for now this is a nice stopgap.

    You’re welcome

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Any way to remove post navigation?’ is closed to new replies.