Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom topic list


  • blg002
    Participant

    @blg002

    Can anyone show me how to create a custom list of a forums topic for a section on my homepage? Essentially I’m looking for the bbpress equivalent of this:

    <?php query_posts('showposts=5'); ?>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
      <li>
        <a href="<?php the_permalink() ?>">
         <?php the_title(); ?> - <?php the_time('M Y'); ?>
        </a>      
      </li>
    <?php endwhile; endif; ?>
    <?php wp_reset_query(); ?>

    It would also want to filter by forum and sort by “Latest” and “Hot” (Hot being most “Voices”). Basically mimicking the “(bbPress) Recent Topics” Widget.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar