This topic has 3 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #187855
     edgecastmedia
    Participant

    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.

     

     

     

     

    #187868
     edgecastmedia
    Participant
    Not marked as solution
    #187873
     edgecastmedia
    Participant
    Not marked as solution
    #187917
     Laura
    Moderator
    Not marked as solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Theme options & Demo content’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?