The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP jQuery Lightbox
Auto-lightbox image links - feature image? (2 posts)

  1. hhamernik
    Posted 3 years ago #

    Does the ... Auto-lightbox image links
    Option work for feature images? It did not work on my site.

    I am using a custom post type with a custom template. I got it to work with this...
    if ( has_post_thumbnail()) {
    $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large');
    echo '';
    echo '

    the rel="lightbox" is hardcoded in now. Works fine, but would be cool if you could add that.


  2. ulfben
    Plugin Author

    Posted 3 years ago #

    The plugin only filters posts and comments. Give me the filter for the_post_thumbnail and I'll add that too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP jQuery Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic