WordPress.org

Ready to get started?Download WordPress

Forums

How to: Parent page links to first child page automatically (2 posts)

  1. tombc1234
    Member
    Posted 4 years ago #

    I have a quick question to ask.

    My website's navigation is structure in parent pages with their own respective child pages. When a parent page is clicked, a list of the child pages appears in the footer. So that's all working as I'd like it.

    However, I would like to make a modification. Basically what I'd like to happen is that when a parent page is clicked, the user is taken directly to the first child page of that parent page. So instead of displaying the parent page when it's clicked on, the first child page of that parent page is displayed.

    So let's say I've got (LEVEL 1) as my parent page, and it's child pages (ONE), (TWO) and (THREE). When I click on (LEVEL 1), the user is immediately taken to page (ONE), as opposed to (LEVEL 1).

    Is this possible? If so, how would I implement such a feature?

    Thanks and have a happy new year!

    Tom.

  2. stevecoy
    Member
    Posted 4 years ago #

    http://www.nathanrice.net/plugins/

    Look for Redirect Parent to First Child Plugin

    You can also install the Page Links To plugin, this will enable you to manually redirect the top-level page to the URL of one of its children. That plugin is here:

    http://wordpress.org/extend/plugins/page-links-to/

Topic Closed

This topic has been closed to new replies.

About this Topic