• 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

How do I Add Next Post / Previous Post Links to Posts??? Help Please

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 › Design Tips and Tricks › How do I Add Next Post / Previous Post Links to Posts??? Help Please

This topic is: not resolved

Tagged: genesis_prev_next_post_nav, next_post_link, previous_post_link

  • This topic has 4 replies, 4 voices, and was last updated 6 years, 3 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 21, 2018 at 10:06 pm #221902
    GooseNZ
    Participant

    Hi there,

    I'm trying to add a PREVIOUS POST and NEXT POST navigation/pagination at the bottom of my posts AND/OR a "Related Posts" function that is "responsive".

    Something similar to the previous posts/related posts section on this page:
    https://maitheme.com/mai-lifestyle-pro/perfect-pumpkin-pancakes/

    I added the code outlined here to my functions.php file:
    https://briangardner.com/code/entry-navigation/

    HOWEVER, the post titles are to long and it makes it look messy...they don't wrap or get shortened with ... at the ends.

    As a result, the previous post title and the next post title end up on different lines.

    Also, there is no way to add thumbnails/featured images.

    Also...I would like to have it showing between the social shares (at the bottom of the post) and the Sign Up form which is directly below that.

    Can somebody please explain how to achieve this?

    FYI, I'm not a developer but am familiar enough that I can add SUPPLIED" code to functions.php etc.

    I have included a link to a blog post so you can see what I mean.

    Thanks

    Jeremy

    https://www.tacticalclassroom.com/calling-your-shots-targets/
    July 22, 2018 at 1:12 am #221906
    Brad Dalton
    Participant

    Try this tutorial


    Tutorials for StudioPress Themes.

    August 24, 2018 at 8:12 pm #222710
    JiveDig
    Participant

    I like to do it by adding post type support, like this:

    
    // Add previous/next post links to single posts
    add_post_type_support( 'post', 'genesis-adjacent-entry-nav' );
    

    FWIW, this is how we do it in Mai Theme, though we have some other filters to add the featured image.


    Lead developer of Mai Theme

    February 1, 2019 at 9:18 pm #489217
    thevegastourist
    Participant

    It works perfectly for me, except how would I put a box around it so that it stands out? is there a way to make this stand out, be noticed??

    Thank you

    February 1, 2019 at 10:36 pm #489218
    Brad Dalton
    Participant

    Try this https://www.w3schools.com/css/css_border.asp


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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