hesabixWpTheme/bbpress/loop-search-reply.php

41 lines
1.2 KiB
PHP

<?php
/**
* نتیجهٔ جستجو — پاسخ
*
* @package Hesabix2
* @subpackage bbPress
*/
defined( 'ABSPATH' ) || exit;
?>
<div class="hesabix2-bbp-post hesabix2-bbp-post--search">
<div class="bbp-reply-header">
<div class="bbp-meta">
<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
</div>
<div class="bbp-reply-title">
<h3 class="hesabix2-bbp-search-hit-title">
<?php esc_html_e( 'در پاسخ به:', 'hesabix2' ); ?>
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
</h3>
</div>
</div>
<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
<div class="bbp-reply-author">
<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
<?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
</div>
<div class="bbp-reply-content">
<?php do_action( 'bbp_theme_before_reply_content' ); ?>
<?php bbp_reply_content(); ?>
<?php do_action( 'bbp_theme_after_reply_content' ); ?>
</div>
</div>
</div>