Thumbs on the main page
I’m using the magadine but this problem happens to be with many themes of that kind.
I’d like to have a main page with several excerpts and the related thumbnail to every excerpt.
Just like [thumbnail] excerpt , read more. I’ve tried to edit the excerpt-code within the pages and the index with this code
<a href="<?php the_permalink() ?>"> <?php echo wp_get_attachment_image($first_attachment->ID); ?> </a> <?php the_excerpt() ?>
but I still can’t get a thumbnail next to the excerpt. Is there any chance to fix this problem?
Shouldn’t <?php the_excerpt(__(‘Readmore »’));?> automatically show a thumbnail?
I’m a bit confused.
Thank you in advance,
- The topic ‘Thumbs on the main page’ is closed to new replies.