48 lines
1.5 KiB
PHP
48 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* نتیجهٔ جستجو — موضوع
|
|
*
|
|
* @package Hesabix2
|
|
* @subpackage bbPress
|
|
*/
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
?>
|
|
|
|
<div class="hesabix2-bbp-post hesabix2-bbp-post--search">
|
|
|
|
<div class="bbp-topic-header">
|
|
<div class="bbp-meta">
|
|
<span class="bbp-topic-post-date"><?php bbp_topic_post_date( bbp_get_topic_id() ); ?></span>
|
|
<a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>
|
|
</div>
|
|
|
|
<div class="bbp-topic-title">
|
|
<?php do_action( 'bbp_theme_before_topic_title' ); ?>
|
|
<h3 class="hesabix2-bbp-search-hit-title">
|
|
<?php esc_html_e( 'موضوع:', 'hesabix2' ); ?>
|
|
<a href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a>
|
|
</h3>
|
|
<div class="bbp-topic-title-meta">
|
|
<?php esc_html_e( 'در انجمن', 'hesabix2' ); ?>
|
|
<a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>
|
|
</div>
|
|
<?php do_action( 'bbp_theme_after_topic_title' ); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
|
|
<div class="bbp-topic-author">
|
|
<?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
|
|
<?php bbp_topic_author_link( array( 'show_role' => true ) ); ?>
|
|
<?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
|
|
</div>
|
|
<div class="bbp-topic-content">
|
|
<?php do_action( 'bbp_theme_before_topic_content' ); ?>
|
|
<?php bbp_topic_content(); ?>
|
|
<?php do_action( 'bbp_theme_after_topic_content' ); ?>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|