• This worked OK in the previous FancyBox version.

    I found on line #216 of fancybox.php that .children(“img”) should be .children(“a”) to display the caption based on the title

    var title = jQuery(this).children("img").attr("title");
    var title = jQuery(this).children("a").attr("title");
  • The topic ‘[Plugin: FancyBox for WordPress] FancyBox not displaying caption in version 2.5.1’ is closed to new replies.