Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show children of current top-level page #12

Open
penfold00 opened this issue Jun 11, 2023 · 1 comment
Open

Show children of current top-level page #12

penfold00 opened this issue Jun 11, 2023 · 1 comment

Comments

@penfold00
Copy link

Hi,
great plugin, thanks! What I can't figure out but would like to do, is to show all descendents on all levels of the current top-level page.

Say I got:
Page A
-- Page A1
-- Page A2
Page B
-- Page B1
-- -- Page B1-1
-- Page B1-2
-- Page B2
Page C

On Page B1 I want to show all children and grandchildren of B. So not just the siblings, but all that is under B. On Page B1-1 I want to show the exact same page list - all descendents of Page B.

Is that possible in some way?

Thank you!

@baby-gnu
Copy link

baby-gnu commented Oct 8, 2023

It would be great to add either:

  • support of grand prefix to parent, like grand-parent, grand-grand-parent, etc
  • support of negative child_of index to move up relatively to current

or maybe both.

I think the function to modify is pagelist_unqprfx_norm_params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants