37 lines
635 B
PHP
37 lines
635 B
PHP
<?php
|
|
/**
|
|
* قالب endpoint انجمن bbPress — سازگار با Hesabix2
|
|
*
|
|
* @package Hesabix2
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
get_header();
|
|
?>
|
|
|
|
<main id="main-content" class="site-main hesabix2-bbp-main">
|
|
<div class="hesabix2-bbp-wrap max-w-6xl mx-auto px-3 sm:px-4 lg:px-6 py-3 sm:py-4 lg:py-5">
|
|
<?php
|
|
if ( function_exists( 'hesabix2_bbpress_render_shell' ) ) {
|
|
hesabix2_bbpress_render_shell();
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
?>
|
|
<div class="hesabix2-bbp-content">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
<?php
|
|
endwhile;
|
|
?>
|
|
</div>
|
|
</main>
|
|
|
|
<?php
|
|
get_footer();
|