Support » Plugins » sidebar widget or plugin to show ‘featured’ posts per category?

  • I am trying to find a plugin or widget that will allow me to display ‘article titles’ that I choose to display on my sidebar.
    kind of like this site:
    http://www.pearsonified.com/

    on the right he has ‘must reads’ ‘worth a look’ etc….

Viewing 1 replies (of 1 total)
  • Probably just a matter of categorizing the posts accordingly and then using the template tag, query_posts(), with something like:

    <h2>worth a look</h2>
    <ul>
    <?php query_posts('cat=5&showposts=6'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
    <?php endwhile; endif; ?>
    </ul>

Viewing 1 replies (of 1 total)
  • The topic ‘sidebar widget or plugin to show ‘featured’ posts per category?’ is closed to new replies.