YARPP and Thumbnails
-
Hi,
I am using TheMorningAfter theme by WooThemes, and am trying to get thumbnails displaying on recent posts with YARPP as per the link below:
http://archondigital.com/studio/wordpress/plugins/linkwithin-inspired-yarpp-template/
Everything displays in the correct place, bar the thumbnails. I have tried changing:
<?php $postimageurl = get_post_meta($post->ID, ‘thumbnail’, true); if ($postimageurl) { ?>
to:
<?php $postimageurl = get_post_meta($post->ID, ‘woo_image’, true); if ($postimageurl) { ?>
and I also tried changing:
<?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
to:
<?php while ($related_query->have_posts()) : $related_query->the_post(); woo_get_image(array(100,100)); ?>
Neither of these has worked. I tried enabling the following option under the WooFramework options:
Automatic Image Thumbs
If no image is specified in the ‘image’ custom field then the first uploaded post image is used.
This shows the thumbnails – not in the right place, but next to the placeholder boxes. With this turned on, however, I have a cropped version of the post image shown above each post on my homepage.
This is driving me crazy! Does anyone have any ideas at all?
Thanks,
crisp82
The topic ‘YARPP and Thumbnails’ is closed to new replies.