WordPress.org

Ready to get started?Download WordPress

Forums

Brunelleschi
Brunelleschi child theme - Archives page (2 posts)

  1. hexadecibel
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/themes/brunelleschi/

  2. hexadecibel
    Member
    Posted 2 years ago #

    I have the right sidebars displaying properly now, but not the left: http://hexadecibel.org/projects/riishouse/news-events/news/archives/

    Any ideas? This is a pro-bono project and I'm getting so close to handing it over to the client except for this one problem.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic