Title: template class help
Last modified: August 19, 2016

---

# template class help

 *  [fadedhalo](https://wordpress.org/support/users/fadedhalo/)
 * (@fadedhalo)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/template-class-help/)
 * hi there.
 * apologies for the cross-posting but i really need an answer to this one.
 * I am using wp_list_pages in a page template to list a parent’s children, but 
   i want to add a small description (to the page fold if possible) under each link.
 * Ive read that the_content() class will do this and display the text down to the
   read more quicktag.
 * i am having trouble finding how to let the_content() see the page it relates 
   to as the pages are created dynamically via wp_list_pages.
 * what should i put for the last parameter of the_content() class?
 * Here is my code:
 *     ```
       <?php get_header(); ?>
       	<div id="content" class="narrowcolumn">
       		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       		<div class="post" id="post-<?php the_ID(); ?>">
       		<h2><?php the_title(); ?></h2>
       			<div class="entry">
                       <p>
                       <ul>
       					<?php wp_list_pages('sort_column=menu_order&title_li=&child_of='.$post->ID.'&depth=0');?>
       					<?php the_content('Continue reading ', FALSE, 'LOCATION TO PAGE NEEDS ADDED HERE'); ?>
                     </li>
                       </p>
       			</div>
       		</div>
       		<?php endwhile; endif; ?>
       	<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
       	</div>
   
       <?php get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 * Can anyone help out?
 * Thanks in advance.

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

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/template-class-help/#post-799225)
 * [wp_list_pages](http://codex.wordpress.org/wp_list_pages) does not allow for 
   descriptions. If you bookmarked your own pages, [wp_list_bookmarks](http://codex.wordpress.org/Template_Tags/wp_list_bookmarks)
   could do this.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/template-class-help/#post-799227)
 * > apologies for the cross-posting but i really need an answer to this one.
 * and how bout next time, dont do that– “buts” dont really excuse doing something
   you obviously knew would be disliked.

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

The topic ‘template class help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/template-class-help/#post-799227)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
