Brunelleschi child theme – Archives page
-
I created a child theme to customize a this website but have not gotten the Archives page to work properly as you can see. Here is the code for archives.php:
<?php /* Template Name: Archives */ get_header(); ?> <div id="main" role="main" class="<?php brunelleschi_content_class(); ?>"> <?php the_post(); ?> <h1 class="entry-title"><?php the_title(); ?></h1> <h2>Archives by Year:</h2> <ul class="archives"> <?php wp_get_archives('type=yearly'); ?> </ul> </div><!-- #main --> <?php if( brunelleschi_option('sidebar') === 'both' || brunelleschi_option('sidebar') === 'two left' || brunelleschi_option('sidebar') === 'two right'){ get_sidebar('secondary'); } ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
The content displays, but not the sidebars. I would appreciate any help!
Thanks,
Deborah
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Brunelleschi child theme – Archives page’ is closed to new replies.