Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #349325

    Hello,
    I just noticed that the featured blog image shows a wrong caption (inside lightbox). Instead of the media description, it shows the name of the blog post. I really need this to be fixed, because I have to publish copyright notices next to my image!!!
    Thanks!

    #349626

    Hi StuWeTueHo!

    Try opening up /enfold/includes/loop-index.php and find line 79.

    $featured_img_desc = the_title_attribute('echo=0');
    

    And change it to this.

    $desc = get_post( get_post_thumbnail_id() ) -> post_excerpt;
    $featured_img_desc = ( $desc != null ) ? $desc : the_title_attribute( 'echo=0' );
    

    And then click on your featured image when editing your post and insert some text into the caption setting and save.
    Regards,
    Elliott

    • This reply was modified 10 years, 1 month ago by Elliott.
    #350009

    This fix works. Thank you. Will this be inluded in a theme update?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Featured blog image shows wrong caption in lightbox’ is closed to new replies.