forked from roots/sage
/
page-sitemap.php
24 lines (24 loc) · 936 Bytes
/
page-sitemap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/*
Template Name: Sitemap
*/
get_header(); ?>
<div id="content" class="<?php echo roots_container_class; ?>">
<div id="main" class="<?php echo get_option('roots_main_class'); ?>" role="main">
<div class="container">
<?php get_template_part('loop', 'page'); ?>
<h2><?php _e('Pages', 'roots'); ?></h2>
<ul><?php wp_list_pages('sort_column=menu_order&depth=0&title_li='); ?></ul>
<h2><?php _e('Posts', 'roots'); ?></h2>
<ul><?php wp_list_categories('title_li=&hierarchical=0&show_count=1'); ?></ul>
<h2><?php _e('Archives', 'roots'); ?></h2>
<ul><?php wp_get_archives('type=monthly&limit=12'); ?></ul>
</div>
</div><!-- /#main -->
<aside id="sidebar" class="<?php echo get_option('roots_sidebar_class'); ?>" role="complementary">
<div class="container">
<?php get_sidebar(); ?>
</div>
</aside><!-- /#sidebar -->
</div><!-- /#content -->
<?php get_footer(); ?>