Hey there,
Ok i see. I can give this to the buddyboss team.
Do you have any suggestions how such a simple filter has/could to look like?
Therefore the development could be speed up in the buddyboss team.Cheers
Hi Steffen,
Please allow me to post on Monday with my suggestions.Thank you
BrajeshHi Steffen,
Thank you for the patience.here is an example.
The should change this(from all the places they have used similar code)
<?php if ( ! bp_is_user_messages() && ! bp_is_user_settings() && ! bp_is_user_notifications()&& ! bp_is_user_profile_edit() && ! bp_is_user_change_avatar() && ! bp_is_user_change_cover_image() ) : ?>
to
$show_profile_header = ! bp_is_user_messages() && ! bp_is_user_settings() && ! bp_is_user_notifications() && ! bp_is_user_profile_edit() && ! bp_is_user_change_avatar() && ! bp_is_user_change_cover_image() ; if ( apply_filters('buddyboss_theme_show_user_profile_header', $show_profile_header ) ) : ?>
Even better, they can put part of this code in a function like buddyboss_theme_is_user_profile_header_visible()`
and use that at all the places they want to toggle the header.Now, we can control the header visibility via custom code easily.
Regards
BrajeshHey Brajesh,
thanks for your answer. i have posted your code to the buddyboss support. don´t know if they will fix this.
hope so.
we don´t have a possibility to fix this with a custom function in the functions.php?cheers
Hi Steffen,
I am sorry for the issue.The only other solution is to override at least 3 files(member-header.php, cover-image-header.php and profile.php ). All these 3 files have same code for hiding/showing the header.
Regards
Brajesh
You must be logged in to reply to this topic.