[Resolved] [Plugin: Category Page] Want to display a thumbnail with catlist tag
Hi all, I’m using the “catlist” tag in the Category Page plugin to display pages with post excerpts, as in: http://es.diegograglia.net/horahispana/
I want to display a thumbnail for each post. I have activated thumbnails in functions.php and assigned a “featured image” to the posts.
Now I don’t know how to write the php to have catlist call it. Would this be correct? (I only added the line in bold.)
foreach($catposts as $single):
$output .= “<h3>ID).”‘>”.$single->post_title.”</h3>”;
$output .= “$single->post_excerpt”;
$output .= “$single->the_post_thumbnail()”;
Thanks for any help!
- The topic ‘[Resolved] [Plugin: Category Page] Want to display a thumbnail with catlist tag’ is closed to new replies.