Tag Info

New answers tagged

0

It's kind of a bit different, but since this thread appears first on Google, it might be usefull for someone else. To get the current logged-in user profile link, just use bp_loggedin_user_domain() Hope that helps.


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. ...



Top 50 recent answers are included