• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Disable Next/Previous on Home Page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Disable Next/Previous on Home Page

This topic is: resolved

Tagged: navigation

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by mtombs.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 27, 2013 at 9:40 am #59052
    mtombs
    Participant

    I've just started using Genesis, and I've been experimenting with the sample child theme. I'd like to know if there's a way to remove the next/previous page navigation link from the home page, but keep it on archive pages?

    Any suggestions would be very welcome.

    I'm trying to get the hang of Genesis on a local installation of WordPress, so I can't provide a link.

    Thanks,

    Michael

    August 29, 2013 at 2:46 am #59473
    Sridhar Katakam
    Participant

    Add this in child theme's functions.php:

    remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );
    add_action( 'genesis_after_endwhile', 'my_genesis_posts_nav' );
    
    function my_genesis_posts_nav() {
    	if (!is_front_page()) {
    		genesis_posts_nav();
    	}
    }

    Genesis Tutorials | Follow me on Twitter

    August 29, 2013 at 9:51 am #59548
    mtombs
    Participant

    Dear Sridhar,

    Many thanks for your help. That worked a treat!

    Michael

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Disable Next/Previous on Home Page’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble