Title: pagelist_ext with depth function
Last modified: August 31, 2016

---

# pagelist_ext with depth function

 *  Resolved [Micyeung723](https://wordpress.org/support/users/micyeung723/)
 * (@micyeung723)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pagelist_ext-with-depth-function/)
 * Hi [@webvitaly](https://wordpress.org/support/users/webvitaly/),
 * Thanks for this plugin. I have been using this for few months. This is an unique
   plugin, and one of the best plugins I have for my site.
 * May I ask for a function addon with depth level for pagelist_ext please? I have
   3 level of pages for products.
    1) Purpose 2) Type 3) Products The problem is
   now it shows all the 3rd level pages when I use the [pagelist_ext] on the first,
   and I dont want to use the ID.
 * In case its impossible to do so, I will have to amend it as 2 levels without 
   the purposes, or using ID.
 * Many thanks!
 * [https://wordpress.org/plugins/page-list/](https://wordpress.org/plugins/page-list/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pagelist_ext-with-depth-function/#post-6942648)
 * [pagelist_ext] shortcode is not very flexible with depth levels.
    You may have
   only 2 options: first level (top-level pages) or all infinite depth (pages from
   all levels).
 * [pagelist_ext] is based on [get_pages()](http://codex.wordpress.org/Function_Reference/get_pages)
   function and there is no easy way to control the depth param with it.
 *  Thread Starter [Micyeung723](https://wordpress.org/support/users/micyeung723/)
 * (@micyeung723)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pagelist_ext-with-depth-function/#post-6942654)
 * Understood, thanks very much for your reply.
    I have decided to keep it as 3 
   levels structure because of the following reasons:
    1. I dont want too many top-level pages shown on the admin panel (using plugin 
       to hide the sub-pages)
    2. would like to show the “purpose”(top-level pages) on the breadcrumbs for better
       viewer experience.
    3. SEO issue, Im showing the parent pages on the meta title for more information.
 * Finally, I found a solution of this, by using parent=(itself). The sub-subpages
   of the subpages will not be shown by this way, and all the pages are automatically
   added without further amendment. (I love auto adding)
 * Thanks very much again for this helpful plugin. Its always appreciated of a meaningful
   plugin author replying, and welcome for our comments.
 * Love this plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘pagelist_ext with depth function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-list_ffffff.svg)
 * [Page-list](https://wordpress.org/plugins/page-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-list/)
 * [Active Topics](https://wordpress.org/support/plugin/page-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-list/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Micyeung723](https://wordpress.org/support/users/micyeung723/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/pagelist_ext-with-depth-function/#post-6942654)
 * Status: resolved