예제 #1
0
function shoestrap_bbp_topic_class($classes)
{
    $classes[] = 'row';
    $classes[] = 'list-unstyled';
    $classes[] = shoestrap_bbps_get_topic_status();
    return $classes;
}
<?php

/**
 * Topics Loop - Single
 *
 * @package bbPress
 * @subpackage Theme
 */
?>

<li class="list-group-item">
	<div class="support-status <?php 
echo shoestrap_bbps_get_topic_status();
?>
"></div>
	<ul id="bbp-topic-<?php 
bbp_topic_id();
?>
" <?php 
bbp_topic_class();
?>
>

		<li class="col-md-1">
			<?php 
do_action('bbp_theme_before_topic_started_by');
?>
			<span class="bbp-topic-started-by-avatar-avatar"><?php 
echo bbp_get_topic_author_avatar();
?>
</span>