Tag Info

New answers tagged

0

Based on the code you've shown, the main problem is this: bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/rebons' ) ); Should be this: bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); The way you are adding the nav tabs may also be a problem. Here is a gist that might help. ...


0

For this specific instance you could use is_front_page() and then dequeue them, which will remove them from the front page. if(is_front_page()){ wp_dequeue_script( ... ); wp_dequeue_style( ... ); } As for other pages, I would suggest having an array of pages to exclude the resources from and use is_page() to check if it should be excluded. ...


-2

I would try to display the meta using ACF like this : <?php $role = get_field('user_role', $profile_author); if( !empty($role) ): ?> <?php echo $role; ?> <?php endif; ?>


1

Try: class BP_Custom_User_Ids { private $custom_ids = array(); public function __construct() { $this->custom_ids = $this->get_custom_ids(); add_action( 'bp_pre_user_query_construct', array( $this, 'custom_members_query' ), 1, 1 ); add_filter( 'bp_get_total_member_count', array( $this, 'custom_members_count' ), ...


0

Just in case someone reads this after all this time (2011): I ran into the same issue, and after reading many posts, get back to my WP, and 'voila !' : It was working as expected ! this is a cache issue IMHO (WP 4.2.2). Cheers.



Top 50 recent answers are included