| Server IP : 172.67.134.116 / Your IP : 216.73.216.140 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/wp-content/themes/buddyboss-theme/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying buddypress content
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package BuddyBoss_Theme
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( ! bp_is_user() && ! bp_is_group_single() && ! bp_is_group_create()
&& ( ! function_exists( 'bbp_is_topic_archive' ) || ! bbp_is_topic_archive() ) ) : ?>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php
if ( function_exists( 'bp_is_register_page' ) ) {
if ( !is_user_logged_in() && bp_is_register_page() && 'request-details' === bp_get_current_signup_step() ) { ?>
<span><?php _e( 'or', 'buddyboss-theme' ); ?> <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Sign in', 'buddyboss-theme' ); ?></a></span>
<?php }
} ?>
</header><!-- .entry-header -->
<?php endif; ?>
<?php
if( function_exists( 'buddyboss_bp' ) ) {
$vue_components = buddyboss_bp()->get_vue_components();
if ( function_exists( 'bp_is_user_notifications' ) && bp_is_user_notifications() && isset( $vue_components['buddyboss_vue_bp_notifications'] ) && ! $vue_components['buddyboss_vue_bp_notifications'] ) {
?>
<h1 class="title"><?php _e( 'Notifications', 'buddyboss-theme' ); ?></h1><?php
}
}
?>
<div class="entry-content">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'buddyboss-theme' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php if ( get_edit_post_link() ) : ?>
<footer class="entry-footer">
<?php
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', 'buddyboss-theme' ), array(
'span' => array(
'class' => array(),
),
)
), get_the_title()
), '<span class="edit-link">', '</span>'
);
?>
</footer><!-- .entry-footer -->
<?php endif; ?>
</article>