hesabixWpTheme/bbpress/loop-topics.php

44 lines
1 KiB
PHP

<?php
/**
* حلقهٔ موضوعات — عناوین فارسی
*
* @package Hesabix2
* @subpackage bbPress
*/
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_template_before_topics_loop' ); ?>
<ul id="bbp-forum-<?php bbp_forum_id(); ?>" class="bbp-topics">
<li class="bbp-header">
<ul class="topic-titles">
<li class="bbp-topic-title"><?php esc_html_e( 'موضوع', 'hesabix2' ); ?></li>
<li class="bbp-topic-voice-count"><?php esc_html_e( 'نویسندگان', 'hesabix2' ); ?></li>
<li class="bbp-topic-reply-count"><?php esc_html_e( 'پاسخ‌ها', 'hesabix2' ); ?></li>
<li class="bbp-topic-freshness"><?php esc_html_e( 'آخرین نوشته', 'hesabix2' ); ?></li>
</ul>
</li>
<li class="bbp-body">
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
<?php endwhile; ?>
</li>
<li class="bbp-footer">
<div class="tr">
<p class="td colspan4">&nbsp;</p>
</div>
</li>
</ul>
<?php do_action( 'bbp_template_after_topics_loop' );