Reply To: How to see image description when picture is enlarged from gallery

forums forums Circle Flip Support How to see image description when picture is enlarged from gallery Reply To: How to see image description when picture is enlarged from gallery


Omar
Keymaster
#7431

Hey demovfm,

You can set the requested feature by editing the file themes/circleflip/inc/circleflip-media.php

Line 124

<a href="<?php echo esc_url($src[0]) ?>" rel="prettyphoto" class="zoomRecent"></a>

and change the rel=”” attribute to be

<a title="<?php echo $image_attach; ?>" href="<?php echo esc_url($src[0])?>" rel="prettyPhoto[pp_gal]" class="zoomRecent"></a>

and on line 116 you’ll find

$srcset = wp_get_attachment_image_srcset( $id, 'full' );

add after it to be

$srcset = wp_get_attachment_image_srcset( $id, 'full' );
$caption = get_post( $id )->post_excerpt;

That should do 🙂

We’ll roll this on the next update for all users