Hello again Anthony and/or others,
I am breaking my head over this: I want category, tag, author archives to be shown in such a way that they show:
Title with link
meta data and featured image (optional)
The default shows the entire content, and I don't want to go back to all of previous posts to add a 'more'
So I fiddled around and added this to the category loop:
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title( '<center><h1>', '</h1></center>' ); ?></a> <?php if ( has_post_thumbnail()) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail('thumbnail'); ?> </a> <?php endif; ?><?php the_excerpt(); ?>
That showed permalinked, centered title, thumbnail, excerpt. I was happy to have done this, though not happy with its styling--the permalink was underlined, and ideally i would want the excerpt wrapped around image.
But, scratch all of that. If I could just get my archives (all of them) to appear like they do in search results, I'd be happy, even without the featured image.
However, by examining the search.php, in the loop it calls for:
<?php get_template_part( 'content', get_post_format() ); ?>
Which is exactly what the default category archives calls for...So the difference is, what post_format does search results call for?
I'm out of leads...
I'd appreciate the help! I love learning all this and researching, but I've got no leads now...