Make featured images clickable. Lightbox on posts, links on archives. Zero config.
Makes your featured images clickable:
- On single posts/pages: Clicks open the full-size image in a lightbox
- On archives/loops: Clicks go to the post
Simple, automatic, no settings to configure.
Featured images in WordPress are not clickable by default. Visitors expect to click images. This plugin fixes that with zero configuration.
- Download from Releases
- Upload via WordPress Admin → Plugins → Add New → Upload Plugin
- Activate
Done. No settings, just works.
- Wraps featured images in appropriate links
- Uses BaguetteBox for lightbox (if available)
- Prevents nested link issues
- Works with any theme using
post_thumbnail_htmlfilter - Preserves image captions for lightbox
The plugin hooks into WordPress's post_thumbnail_html filter:
is_singular()= true → Links to full-size image (lightbox)is_singular()= false → Links to post permalink
Skips images already wrapped in links to prevent HTML issues.
- WordPress 5.0+
- For lightbox: BaguetteBox (optional, theme must provide)
- Fixed: No longer breaks archive page links when theme already wraps featured images
- Fixed: Added proper URL escaping for security
- Tested compatibility with WordPress 6.9
- Fixed syntax error that caused parse error
- Updated stable tag and function names to follow WordPress.org guidelines
- Initial release
GPL-2.0+
Devenia - We've been doing SEO and web development since 1993.