Title: bbestbug's Replies | WordPress.org

---

# bbestbug

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Create your custom post type tree, parent-child relationship.](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/)
 *  [bbestbug](https://wordpress.org/support/users/bbestbug/)
 * (@bbestbug)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/#post-2319077)
 * perfect. thank you!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Create your custom post type tree, parent-child relationship.](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/)
 *  [bbestbug](https://wordpress.org/support/users/bbestbug/)
 * (@bbestbug)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/#post-2319075)
 * Thanks for the screen shots..
 * we’ve added the following code to our page sidebar-overviews.php
 *     ```
       <?php // LEFT SIDEBAR ?>
       <div id="leftsidebar">
         <ul>
         <li><h2>FEATURES</h2>
           <ul>
   
       <ul>
           <?php 
   
       	require_once(WP_PLUGIN_DIR.'/custom-post-type-tree/the_tree.php');
       customPostTypeTree::viewChildren($customPostTypeTree);
   
       	while (have_posts()) : the_post(); ?>
   
       <?php endwhile; ?>
       ```
   
 * and the children posts are displaying but only the name. We’d like to be able
   to include the permalink as well.
 * I cant see from the screenshots how we can change this to include the permalinks?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Create your custom post type tree, parent-child relationship.](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/)
 *  [bbestbug](https://wordpress.org/support/users/bbestbug/)
 * (@bbestbug)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/create-your-custom-post-type-tree-parent-child-relationship/#post-2319067)
 * Hi,
    we’ve got this working and the children are displaying in a sidebar to within
   a single post page. but we’d like to include links to the actual custom post 
   rather then just the post name?
 * do you have sample code that would achieve this?

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