Title: boyarchitect's Replies | WordPress.org

---

# boyarchitect

  [  ](https://wordpress.org/support/users/boyarchitect/)

 *   [Profile](https://wordpress.org/support/users/boyarchitect/)
 *   [Topics Started](https://wordpress.org/support/users/boyarchitect/topics/)
 *   [Replies Created](https://wordpress.org/support/users/boyarchitect/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/boyarchitect/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/boyarchitect/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/boyarchitect/engagements/)
 *   [Favorites](https://wordpress.org/support/users/boyarchitect/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Page Lists Plus] This plug-on needs to be tested with permalink structures](https://wordpress.org/support/topic/plugin-page-lists-plus-this-plug-on-needs-to-be-tested-with-permalink-structures/)
 *  [boyarchitect](https://wordpress.org/support/users/boyarchitect/)
 * (@boyarchitect)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-page-lists-plus-this-plug-on-needs-to-be-tested-with-permalink-structures/#post-1493984)
 * I set this custom structure — /%year%/%monthnum%/%postname%/
 * And get this: [http://reallifepractice.com/wordpress/attorneys/](http://reallifepractice.com/wordpress/attorneys/)
   where “Attorneys” is the Alternative Link Text. So far so good.
 * What this PLP does NOT play nice with is Breadcrumb NavXT.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to display children but not grandchildren](https://wordpress.org/support/topic/how-to-display-children-but-not-grandchildren/)
 *  [boyarchitect](https://wordpress.org/support/users/boyarchitect/)
 * (@boyarchitect)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/how-to-display-children-but-not-grandchildren/#post-1311105)
 * esmi, that was timely and perfect. thx.
 * Note the addition of “depth=1” on line 5 to hide the grandchildren.
 * <?php
    if($post->post_parent) $children = wp_list_pages(“title_li=&sort_column
   =menu_order&child_of=”.$post->post_parent.”&echo=0&depth=1″); else $children 
   = wp_list_pages(“title_li=&sort_column=menu_order&child_of=”.$post->ID.”&echo
   =0&**depth=1**“); if ($children) { ?> <div class=”widget widget_pages”>
    -  <?php echo $children; ?>
 *  </div>
    <?php }

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