I am the admin of a network of writers. Since there isn’t a Skype plugin made for Buddypress, I decided to manually get the html badge for Skype button and attach it to my profile just beneath the avatar section. What I want to accomplish is, if my writers will go and view my profile, they will see the skype ‘call me’ button. This button should not be visible on a non-admin profile.
I have been trying this code for hours now but something just isn’t right.
php if ( bp_is_my_profile(‘1’) ) : ?>
[SKYPE HTML BADGE]
php endif; ?>
I intentionally omitted the < ? so my code would show.
It does show when my profile is viewed, but I tried logging in to other user’s account to see how it would appear, and while the entire button isn’t completely shown, the upper part of the button is showing!
What am I doing wrong?