Thumbnails in archives page
-
Hi,
I’m using wordpress for my photoblog, and I’d like to have an archives page with thumbnails of photos shown. Thumbnails are put under excerpt. I’ve modified archives.php and put in the code below:
<?php while (have_posts()) : the_post(); ?>
<?php the_excerpt(); ?>
<?php endwhile; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>Loading the archives page I get the error
Parse error: parse error, unexpected T_ELSE in /archives.php on line 15
with line 15 being
<?php endwhile; else: ?>
What am I doing wrong? How do I get thumbnails to show as archives?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Thumbnails in archives page’ is closed to new replies.