• Hallo,

    some weeks ago I installed the theme “Bruneschelli”. But unfortunatly the hyperlinks of the “archive” in the sidebar does not work at all. The links don’t guide to the list of posts / month. I just reach the “home”-site.

    My archive.php:

    <?php get_header(); ?>
    		<div id="main" role="main" class="<?php brunelleschi_content_class(); ?>">
    
    <?php
    	if ( have_posts() )
    		the_post();
    ?>
    
    			<h1 class="page-title">
    <?php if ( is_day() ) : ?>
    				<?php printf( __( 'Daily Archives: <span>%s</span>', 'brunelleschi' ), get_the_date() ); ?>
    <?php elseif ( is_month() ) : ?>
    				<?php printf( __( 'Monthly Archives: <span>%s</span>', 'brunelleschi' ), get_the_date( 'F Y' ) ); ?>
    <?php elseif ( is_year() ) : ?>
    				<?php printf( __( 'Yearly Archives: <span>%s</span>', 'brunelleschi' ), get_the_date( 'Y' ) ); ?>
    <?php else : ?>
    				<?php _e( 'Blog Archives', 'brunelleschi' ); ?>
    <?php endif; ?>
    			</h1>
    <?php
    	rewind_posts();
    get_template_part( 'loop', 'archive' );
    ?>
    		</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(); ?>

    My loop.php:

    [ ... ]
    <?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
    			<div class="entry-summary">
    				<?php if( brunelleschi_option('archives-format') === '1' ){ the_content(); }else{ the_excerpt(); } ?>
    			</div><!-- .entry-summary -->
    		<?php else : ?>
    			<div class="entry-content">
    				<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'brunelleschi' ) ); ?>
    			</div><!-- .entry-content -->
    		<?php endif; ?>
    
    			<div class="entry-utility">
    				<?php brunelleschi_posted_on(); ?>
    				<span class="meta-sep">|</span>
    				<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'brunelleschi' ), __( '1 Comment', 'brunelleschi' ), __( '% Comments', 'brunelleschi' ) ); ?></span>
    				<?php edit_post_link( __( 'Edit', 'brunelleschi' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    			</div><!-- .entry-utility -->
    		</aside><!-- #post-## -->
    
    	<?php else : ?>
    		<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    			<header>
    				<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'brunelleschi' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    				<?php if(brunelleschi_option('posted-on') === 'Above Post'): ?>
    				<div class="entry-meta">
    					<?php brunelleschi_posted_on(); ?>
    				</div><!-- .entry-meta -->
    				<?php endif; ?>
    			</header>
    	<?php if ( is_archive() || is_search() ) : ?>
    			<div class="entry-summary">
    				<?php if( brunelleschi_option('archives-format') === '1' ){ the_content(); }else{ the_excerpt(); } ?>
    			</div><!-- .entry-summary -->
    	<?php else : ?>
    			<div class="entry-content">
    				<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'brunelleschi' ) ); ?>
    				<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'brunelleschi' ), 'after' => '</div>' ) ); ?>
    			</div><!-- .entry-content -->
    	<?php endif; ?>
    [ ... ]
    and so on ...

    How can I correct this mistake? If you need my complet loop.php or another template for your help, I can hand it too.

    Thanks in advance.

    Best regards from Vienna, Austria.
    Johanna

  • The topic ‘Theme "Bruneschelli": archive doesn't work’ is closed to new replies.