Some related posts not showing images
-
I just updated to the latest yarpp and yarpp-experiments, but no difference. If you go to http://www.whatsthatbug.com/2012/11/06/cat-faced-spider-2/ you can see exactly what I’m talking about. All the posts have Related Posts, but a subset of those Related Posts have text but no image. And I’m at a loss.
Any suggestions on where to look?
Here is my template that I’m using:
<br /> <?php /*<br /> Example template<br /> Author: Archon Digital (Jonathan Cuevas) http://archondigital.com/<br /> */<br /> ?><h3>Related Posts</h3><br /> <?php if ($related_query->have_posts()):?><br /> <ul class="related-posts"><br /> <?php while ($related_query->have_posts()) : $related_query->the_post(); ?><br /> <?php $the_title = the_title('','',FALSE); if (strlen($the_title) > 40) { $the_title = substr($the_title, 0, 40) . "..."; } ?></p> <li> <a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><br /> <img src="<?php echo getPostThumbnail(); ?>" alt="<?php the_title(); ?>" width="75" height="75"/></a></p> <p> <div style="text-align:center">(<?php echo get_the_date('m/d/Y'); ?>)</div><a>" rel="bookmark"><?php echo $the_title ?></a></li> <p> <?php endwhile; ?></p> <p><?php else: ?><br /> <p>No related posts.</p><br /> <?php endif; ?><br />
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Some related posts not showing images’ is closed to new replies.