I have a problem with the Jetpack sharing buttons in combination with buddypress.
Obviously they don’t make much sense there anyways, it’s not like I want to share my settings page or sth similar, so I am looking for a way to get rid of the sharing buttons on these pages.
I tried hiding them via custom css, but with no success (I can either hide them globally or not at all, since I can’t find a post-id to use it only there). So I searched the web and found this code:
This disabled the sharing buttons when viewing the user profile. I just wonder what to replace the “bp_is_user_profile()” with to get rid of the sharing buttons on the activity site, the user settings page etc.
Hope you can help me. Thank you in advance