Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Archives
- */
- get_header(); ?>
- <?php if(get_option('wpann_sidebar_position')=="" || get_option('wpann_sidebar_position')=="right"){?>
- <!-- BEGIN #mainCol -->
- <div id="mainCol">
- <?php }else{
- get_sidebar();?>
- <!-- BEGIN #mainCol -->
- <div id="mainCol" class="right">
- <?php }?>
- <?php the_post(); ?>
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <?php get_search_form(); ?><br>
- <h2>Archives by Month:</h2>
- <ul>
- <?php wp_get_archives('type=monthly'); ?>
- </ul>
- <br>
- <h2>Archives by Subject:</h2>
- <ul>
- <?php wp_list_categories(); ?>
- </ul>
- </div>
- <!-- End #mainCol -->
- <?php if(get_option('wpann_sidebar_position')=="" || get_option('wpann_sidebar_position')=="right"):get_sidebar(); endif?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement