Support » Plugin: Ambrosite Next/Previous Page Link Plus » Increasing Depth?

  • Resolved chatotek


    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 Project 3 Project 4

    1.2 Private
    1.2.1 Project 5
    1.2.2 Project 6
    1.2.3 Previous Work Project 7 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ambrosite


    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.

    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.

    Plugin Author ambrosite


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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Increasing Depth?’ is closed to new replies.