WordPress.org

Support

Support » Plugins and Hacks » Lazyest Gallery » [Resolved] [Plugin: Lazyest Gallery] Adding Link to Image

[Resolved] [Plugin: Lazyest Gallery] Adding Link to Image

Viewing 2 replies - 1 through 2 (of 2 total)
  • that didn’t really work….here’s the php code…I’ve added this in the a href tag, as I’m trying to get the image to link.

    echo get_post_meta($post->ID, ‘image-link’, true);

    Plugin Author Marcel Brinkkemper

    @macbrink

    You could also enter links in the caption or description.
    To show your link for in slide view add this code:

    function my_extra_field( $image ) {
      echo $image->extra_fields['image-link'];
    }
    add_action( 'lazyest_frontend_slide', 'my_extra_field' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Lazyest Gallery] Adding Link to Image’ is closed to new replies.
Skip to toolbar