Hi,
This is an excellent theme you guys have created. Very easy to customize through the child theme function file. However I’m getting hung up on the cancel friendship button. I read and searched just about everything in the past week on the theme and can’t find a way to accomplish what I’m doing.
So what I need to be able to do is when a “USER”, which by default is a subscriber clicks the “ADD Friend” od an “ADMIN” I need the “CANCEL FRIENDSHIP” Button to NOT appear. So basically when a subscriber adds a admin as a friend the can not cancel the friendship. I only need them to be able to not cancel from the admins. I still want the subscribers to be able to cancel other subscribers .
I was able to remove the “ADD FRIEND” buttons from all subscribers with this code http://prntscr.com/iah335
I set a default member type and said to hide the add button but that is completely not what I’m trying to do but maybe that code can just be adjusted.
I’m trying to go live with the site and that’s the only thing holding me back so your help is much appreciated.
Thank you so much.