• 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

Parent and child pages next/prev links

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 › Parent and child pages next/prev links

This topic is: resolved

Tagged: Child Pages, next prev, page links

  • This topic has 3 replies, 3 voices, and was last updated 7 years, 11 months ago by linzinz.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 15, 2017 at 4:24 pm #209162
    linzinz
    Participant

    I have a parent page and several child pages linked to it. I am looking for code to add next and prev links at the bottom of the child pages. If someone could please point me in the right direction! I think I need to add a function and order the pages?
    Thank you for your help!

    July 16, 2017 at 1:42 am #209166
    Victor Font
    Moderator

    Next/Prev links within a sibling relationship requires custom code. This is not functionality WordPress provides out of the box. I just Googled "wordpress next/prev sibling pages" and received 1.7M results. There are many, many code snippets you can use with your theme.


    Regards,

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

    July 16, 2017 at 2:16 am #209167
    Brad Dalton
    Participant

    Hi

    I found this code and added a hook.

    I did test it and modify it slightly to get it working however you may need to modify the code so it works exactly the way you want which isn't 100% clear to me.

    This code also works


    Tutorials for StudioPress Themes.

    July 16, 2017 at 7:48 pm #209195
    linzinz
    Participant

    Thank you Brad, that first code works! Just have to style it but it functions perfectly 🙂

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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