Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #23728

    I would to show in a mouseover label the name of a photo in 3 colums product gallery, thanks!!


    In wp-contentthemesflashlightwoocommerce-configconfig.php replace:

    echo $image;
    echo $link;


    if(empty($thumbid)) $thumbid = get_post_thumbnail_id(get_the_ID());
    $attachment = get_post( $thumbid );
    $image = str_replace("<img", "<img title='{$attachment->post_title}'", $image);

    echo $image;
    echo $link;


    I have replaced that, but it doesn´t work…

    You can see here:


    I just tested it and it works for me: – however I can imagine that not all browsers display a tooltip if you hover the mouse over the image.


    Yes yes… I didn´t write anythin in description filed, sorry!!

    It works perfect!!!

    Thanks a lot!!!

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

The topic ‘Show image tittle onmouseover in 3 colums product gallery’ is closed to new replies.