Making WordPress.org


Ignore:
Timestamp:
09/01/2016 04:53:49 PM (10 years ago)
Author:
jmdodd
Message:

Forums Theme: Add MVP templating for spam/pending queue views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/content-single-view.php

    r3899 r3909  
    2222                <?php if ( 1 != bbp_get_paged() ) bbp_get_template_part( 'pagination', 'topics' ); ?>
    2323
     24                <?php if ( in_array( bbp_get_view_id(), array( 'spam', 'pending' ) ) ) : ?>
     25
     26                <?php bbp_get_template_part( 'loop',       'posts'     ); ?>
     27
     28                <?php else : ?>
     29
    2430                <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
     31
     32                <?php endif; ?>
    2533
    2634                <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
Note: See TracChangeset for help on using the changeset viewer.