Show member header on certain pages
I have this code
<?php if(!bp_is_user_messages() || !bp_is_user_notifications() || !bp_is_user_settings()) : ?> <?php bp_get_template_part('members/single/member-header'); ?> <?php endif; ?>
Which works as intended with the first part !bp_is_user_messages().
However it ignores !bp_is_user_notification() and !bp_is_user_settings() and renders the member header.
I’d prefer the member header to be visible on all other pages minus messages, notifications and settings.
Any ideas how to achieve this?
- The topic ‘Show member header on certain pages’ is closed to new replies.