WordPress.org

Ready to get started?Download WordPress

Forums

Ambrosite Next/Previous Page Link Plus
[resolved] Increasing Depth? (4 posts)

  1. chatotek
    Member
    Posted 1 year ago #

    Hi, first of all this is a very nice plugin and very well thought out with heaps of options. I have a site structure like this:

    1. Projects

    1.1 Public
    1.1.1 Project 1
    1.1.2 Project 2
    1.1.3 Previous Work
    1.1.3.1 Project 3
    1.1.3.2 Project 4

    1.2 Private
    1.2.1 Project 5
    1.2.2 Project 6
    1.2.3 Previous Work
    1.2.3.1 Project 7
    1.2.3.2 Project 8

    I have modified 'in_same_parent' so that it displays the children of Public or Private (depending which child page you're on) but the "problem" (I realise that the plugin was designed this way) is that I would like to be able to cycle through not just Project 1 and 2 but also project 3 and 4 as well. Is it difficult to increase the depth of page levels retrieved to make this possible?

    Thanks for your help!

    http://wordpress.org/extend/plugins/ambrosite-nextprevious-page-link-plus/

  2. ambrosite
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the positive comments. I am afraid the plugin is not designed to navigate page hierarchies. It may be possible but it would require a complete rewrite of the plugin code.

  3. chatotek
    Member
    Posted 1 year ago #

    Hi, thanks for your reply. If anyone else is interested my workaround (quick but probably not very efficient) was to not use in_same_parent and instead use the in_pages option to which I passed a comma seperated list generated with the get_pages function with child_of set to the top-most post ancestor.

  4. ambrosite
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for sharing your workaround. I am sure others will find it useful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic