WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/07/2014 01:54:49 AM (6 years ago)
Author:
netweb
Message:

WPBBP: bbPress v2.x Theme for International Support Forums

There is more to do here, this gives us a working theme to get going with now and to iterate on further as we go.

Props johnjamesjacoby, netweb. Fixes #376

File:
1 edited

Legend:

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

    r446 r965  
    1 <?php
    2 /**
    3  * Loop Forums Content Part
    4  *
    5  * @package WPBBP
    6  */
    7 ?>
     1<?php do_action( 'bbp_template_before_forums_loop' ); ?>
    82
    9 <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
     3<ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    104
    11     <article id="forums-list-<?php bbp_forum_id(); ?>" class="forums-id-<?php bbp_forum_id(); ?> bbp-forums">
     5    <li class="bbp-header">
    126
    13         <?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
     7        <ul class="forum-titles">
     8            <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>
     9            <li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
     10            <li class="bbp-forum-reply-count"><?php _e( 'Posts', 'bbpress' ); ?></li>
     11        </ul>
    1412
    15     </article><!-- . -->
     13    </li><!-- .bbp-header -->
    1614
    17 <?php endwhile; ?>
     15    <li class="bbp-body">
     16
     17        <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
     18
     19            <?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
     20
     21        <?php endwhile; ?>
     22
     23    </li><!-- .bbp-body -->
     24
     25    <li class="bbp-footer">
     26
     27        <div class="tr">
     28            <p class="td colspan4">&nbsp;</p>
     29        </div><!-- .tr -->
     30
     31    </li><!-- .bbp-footer -->
     32
     33</ul><!-- .forums-directory -->
     34
     35<?php do_action( 'bbp_template_after_forums_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.