Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1059544

    Hi,

    Is it possible to add title attribute to the logo and also to the featured image off the blog?

    Regards,
    Kees

    #1061058

    Hey keeslamper,

    Thank you for using Enfold.

    There is a filter for the logo:

    enfold\framework\php\function-set-avia-frontend.php line 546:

    
    $logo = apply_filters('avf_logo_final_output', $logo, $use_image, $headline_type, $sub, $alt, $link);
    

    For the blog:

    enfold\includes\loop-index.php line 69:

    
    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    replace with:

    
    $current_post['slider'] = apply_filters( 'avf_post_featured_image_link', get_the_post_thumbnail( $current_post['the_id'], $size ), $current_post, $size );
    

    Hope this will help you.

    I added this filter to our repo – so it should become part of the core in one of the next updates.

    Best regards,
    Günter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.