Sitemap

<?php
/**
Template Name: Sitemap Page
 */

get_header(); ?>

	<div id="primary" class="content-area">

		<main id="main" class="site-main" role="main">
      <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       <div class="post-inner-content">
			<?php while ( have_posts() ) : the_post(); ?>
            <header class="entry-header page-header">
			<h1 class="entry-title "><?php the_title(); ?></h1>
            </header>
            <div class="entry-content">
            <?php dynamic_sidebar('sitemap-1'); ?>
            </div>

<?php /*?>				<h3>Pages</h3>
<ul><?php wp_list_pages("title_li=" ); ?></ul>
<!--<h3>Feeds</h3>
<ul>
<li><a title="Full content" href="feed:<?php bloginfo('rss2_url'); ?>">Main RSS</a></li>
<li><a title="Comment Feed" href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comment Feed</a></li>
</ul>-->
<h3>Categories</h3>
<ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&feed=RSS'); ?></ul>
<h3>All Blog Posts:</h3>
<ul><?php $archive_query = new WP_Query('showposts=1000&cat=-8');
while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
(<?php comments_number('0', '1', '%'); ?>)
</li>
<?php endwhile; ?>
</ul>
<h3>Archives</h3>
<ul>
<?php wp_get_archives('type=monthly&show_post_count=tru'); ?>
</ul><?php */?>

				

			<?php endwhile; // end of the loop. ?>
</div>
</article>
		</main><!-- #main -->
	</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>