got it to work with some messy beginners’ change of content-single-user.php right after <div id="bbp-user-wrapper">
with:
<?php if ( bbp_is_single_user_profile() ) bbp_get_template_part( 'user', 'details'); ?>
<?php if ( bbp_is_single_user_profile() ) bbp_get_template_part('user', 'profile'); ?>
<?php bbp_get_template_part( 'user'); ?>
<div id="bbp-user-body">
<?php if ( bbp_is_favorites() ) bbp_get_template_part( 'user', 'favorites' ); ?>
<?php if ( bbp_is_subscriptions() ) bbp_get_template_part( 'user', 'subscriptions' ); ?>
<?php if ( bbp_is_single_user_topics() ) bbp_get_template_part( 'user', 'topics-created' ); ?>
<?php if ( bbp_is_single_user_replies() ) bbp_get_template_part( 'user', 'replies-created' ); ?>
<?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>
</div>
</div>
</div>
may need new css-styling.
Could anyone tell me, how to improve the coding part to avoid the repetition of
<?php if ( bbp_is_single_user_profile() ) bbp_get_template_part('user', '
?
Could anyone tell me, how to improve the coding part to avoid the repetition
using PHP variables might help