This topic has 5 replies, 2 voices, and was last updated 10 years by adam.

  • Author
  • #7030
     vanaila
    Participant

    Hi,

    I hope my title is quite understable. I want to put out the heart on the pictures’overlay.

    How can I do that?

    Thanks.

    #7031
     adam
    Participant
    #7033
     vanaila
    Participant

    I just want to change in the BP-Albub… not anywhere else.

    Will it works?

    #7035
     adam
    Participant

    it should just put this in your functions.php (child theme file):

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_hearts_actions');
    
    function kleo_my_hearts_actions() 
    {
      
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
    }
     
    /* Replace the heart with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
    
    #7046
     vanaila
    Participant

    But this code will replace it by a camera. Didn’t it?

    I want to remove it.

    #7047
     adam
    Participant

    ok change the bottom part to:

    COPY CODE
    
    /* Display nothing on photo */
    function my_custom_icon () {
        return null;
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?