• 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

After update to genesis 2.3.0 genesis_prev_next_post_nav does not work anymore

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 › After update to genesis 2.3.0 genesis_prev_next_post_nav does not work anymore

This topic is: not resolved

Tagged: nav genesis_prev_next_post_nav

  • This topic has 6 replies, 5 voices, and was last updated 9 years, 4 months ago by paulc.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 22, 2016 at 2:48 pm #188063
    pozol
    Participant

    Hello,

    after updating the genesis theme to version 2.3.0 the following code in functions.php does not work anymore:

    add_action( 'genesis_after_loop', 'genesis_prev_next_post_nav', 100 );

    Does anyone have any idea???

    Thanks

    June 22, 2016 at 4:19 pm #188066
    Victor Font
    Moderator

    You're using the wrong hook. This is the comment from the code:

    Helper function to display adjacent entry navigation on single posts. Must be hooked genesis_after_entry at priority 10 or earlier to work properly.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 23, 2016 at 1:29 am #188101
    pozol
    Participant

    Hello Victor,

    i tried this (genesis_after_entry hook with priority 10) but it did not work. Before the update i always had at the end of a single post the navigation.
    But now it is gone.

    June 23, 2016 at 7:39 am #188118
    Victor Font
    Moderator

    You should open a ticket with Studio Press support. http://www.studiopress.com/contact/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 25, 2016 at 9:05 am #188275
    mairagall
    Member

    This works for my themes:

    //* Add post navigation 
    add_action( 'genesis_entry_footer', 'themeprefix_next_prev_post_nav' );
    function themeprefix_next_prev_post_nav() {
    	
    	if ( is_single() ) {
    
    		echo '<div class="single-post-nav">';
    		previous_post_link( '<div class="prev-post-link alignleft"><i class="fa fa-angle-left"></i> %link</div>', '%title' );
    		next_post_link( '<div class="next-post-link alignright">%link <i class="fa fa-angle-right"></i></div>', '%title' );
    		echo '</div>';
    
    	}
    }
    June 27, 2016 at 4:46 am #188369
    himansh
    Member

    Same issue for me : after updating the genesis theme to version 2.3.0 the Post navigation disappear.

    Please suggest, i dont wanna make any custom hook, want to make it as default as possible.

    Thanks
    Himansh

    July 22, 2016 at 7:55 am #190003
    paulc
    Participant

    Nice fix mairagall. Works great. Thanks!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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