Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * Template Name: Archives Template
- */
- get_header(); ?>
- <div id="primary">
- <div id="content" role="main">
- <?php if ( have_posts() ) : ?>
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <hr class="hidden" />
- <h2>Browse the Archives...</h2>
- <?php get_search_form(); ?>
- <h3 class="top">by month:</h3>
- <ul>
- <?php wp_get_archives('type=monthly'); ?>
- </ul>
- <h3>by Category:</h3>
- <ul>
- <?php wp_list_categories('title_li=0'); ?>
- </ul>
- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php
- /* Include the Post-Format-specific template for the content.
- * If you want to overload this in a child theme then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'content', get_post_format() );
- ?>
- <?php endwhile; ?>
- <?php endif; ?>
- <h2 id="RELLINKS">Related Links</h2>
- <?php
- include './wp-content/themes/twentyeleven-child/includes/nav_events_site.inc.php';
- ?><div class="related">
- <?php
- include './wp-content/themes/twentyeleven-child/includes/nav_events.inc.php';
- ?>
- </div>
- <?php /* '~~~~Last Revised Date~~~~'; */ ?>
- <div style="margin-bottom:1em;">Last modified: <?php the_modified_date('F j, Y'); ?></div>
- <?php /* '~~~~START REVISION FLAGS RESOURCE ~~ COPY and PASTE WHERE NEEDED'; */ ?>
- <?php /* '
- <span class="new">New</span>
- <span class="revised">Revised</span>
- <span class="updated">Updated</span>'; */ ?>
- <?php /* '~~~~END REVISION FLAG RESOURCE'; */ ?>
- <?php /* '~~~~START TRADEMARK ATTRIBUTIONS'; */ ?>
- <?php /* '
- ® = [Registered trademark]
- ™ = [TM]'; */ ?>
- <?php /* '~~~~END TRADEMARK ATTRIBUTIONS'; */ ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement