This topic has 7 replies, 3 voices, and was last updated 10 years by Dhyana.

  • Author
  • #24186
     Dhyana
    Participant

    Hi,

    I need to remove the hearts and the compatibility score from the profile page of my members.

    I cannot seem to figure out the structure of the files.

    I can kinda tell what I need to take out, but don’t know where the code is.

    THANK YOU!

    Attachments:
    You must be logged in to view attached files.
    #24199
     Catalin
    Moderator

    Hello,

    Please add the following code to your sweetdate-child/functions.php file:

    COPY CODE
    
    
    function kleo_my_hearts_actions() 
    {
       /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');      
     
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
    }
    
    

    Let me know if this works.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #24246
     Nicole
    Participant

    Hi @Dhyana ! I’ve hide that too on my site with a simple css to add in your child-theme in style.css

    i’ve add:

    COPY CODE
    /*
    * Nascondere compatibility match in members profile
    */
    
    .circular-item {
       display: none;
    }

    For me is working good 🙂

    #24256
     Dhyana
    Participant

    Thank you Catalin! (is that romanian?)
    and Thanks Nicole too!

    #24260
     Dhyana
    Participant

    OK, @Catalin: that code isn’t doing it.
    Nicole: I tried you code and it did the job nicely.

    THANK YOU GUYS!

    #24261
     Nicole
    Participant

    You are welcome @Dhayana 🙂

    #24262
     Nicole
    Participant

    Ups… I ment @Dhyana 😛

    #24274
     Dhyana
    Participant

    @Nicole 😀

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Removing the "COMPATIBILITY" icons and text’ is closed to new replies.

Log in with your credentials

Forgot your details?