[resolved] Is there something like depth="1" for [pagelist_ext] ? (5 posts)

  1. PavelCZ1982
    Posted 1 year ago #


    I have got another question;-) Is there some parameter like depth="1" for [pagelist_ext] ? Depth is good, but only runs for [pagelist] and I need the same for [pagelist_ext].



  2. webvitaly
    Plugin Author

    Posted 1 year ago #

    There is no depth param for [pagelist_ext] shortcode.

    You can make 1-level deep or unlimited depth.

    Check out the description of the 'parent' param description.

    parent - if you want to show subpages of the specific page only you can use this shortcode: [pagelist_ext parent="4"] where 4 is the ID of the specific page and the depth will be only one level; by default parent="-1" and depth is unlimited;

  3. PavelCZ1982
    Posted 1 year ago #


    And is it possible to include depth parameter for [pagelist_ext] to next release ?

    I need to have only current page childrens, not their subchildren, and so on. And I have got quite a lot of pages where it must be like this so do it manually will be pain :-( Yes, I can use [pagelist] but, then I will not see feature image, which is nice feature of [pagelist_ext].

  4. webvitaly
    Plugin Author

    Posted 1 year ago #

    I cannot add depth param because [pagelist_ext] shortcode is based on get_pages() function and it does not have depth param.

    [pagelist] is based on wp_list_pages() function and it has depth param.

    If get_pages() will have depth param in future than I will add this feature for [pagelist_ext] shortcode too.

  5. PavelCZ1982
    Posted 1 year ago #

    Ok, thanks for info.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page-list
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.