Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e9893c1b6f
Fetching contributors…

Cannot retrieve contributors at this time

executable file 40 lines (27 sloc) 0.903 kb
<?php
/*
Template Name: List Child Pages
*/
?>
<?php get_header() ?>
<div id="container">
<div id="content">
<?php the_post() ?>
<?php sb_before_content();?>
<div id="post-<?php the_ID(); ?>" <?php post_class() ?>>
<?php sb_page_title(); ?>
<div class="entry-content">
<?php the_content() ?>
<?php wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'startbox'), "</div>\n", 'number'); ?>
<?php edit_post_link(__('Edit', 'startbox'),'<span class="edit-link">','</span>') ?>
<ul id="page-list">
<?php global $post; wp_list_pages('child_of='.$post->ID.'&exclude=&title_li=&depth=0'); ?>
</ul>
</div>
</div><!-- .post -->
<?php sb_after_content();?>
<?php comments_template( '', true ); ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar() ?>
<?php get_footer() ?>
Jump to Line
Something went wrong with that request. Please try again.