Support » Plugin: Series » Replacing Series Titles with Thumbnails?

  • Resolved llaughy


    I am using the Series plugin by Justin Tadlock and would like to find a way to have the sidebar widget display thumbnails instead of post titles. I am using Yet Anothor Photoblog to generate thumbnails, but I imagine this could also be achieved using WordPress post-thumbnails.

    Does anyone familiar with this plugin have a suggestion as to how I can implement this customization. I have a pretty good familiarity with WP and PHP, but not so good that I can figure this out for myself. Any help will be greatly appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • I scrapped the Series plugin and went with the WP post thumbnail option. I used get_posts() by category slug and replaced the_title() in the usual setup with the_post_thumbnail(). Here’s one example that I implemented on my category.php page to show thumbnails of all the images from a particular category:

    <ul class="my_style">
                $cat_slug = get_category(get_query_var('cat'))->slug;
                $postslist = get_posts('numberposts=-1&order=ASC&category_name=' . $cat_slug . '&orderby=date');
                foreach ($postslist as $post) :
                <li><a href="<?php the_permalink(); ?>" rel="bookmark" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail(array(80,80));?></a></li>
                <?php endforeach; ?>

    I’m not sure this is the most elegant solution, but it was easier for me than trying to figure out the same sort of thing using custom taxonomies.

Viewing 1 replies (of 1 total)
  • The topic ‘Replacing Series Titles with Thumbnails?’ is closed to new replies.