Title: Exclude lightbox
Last modified: June 26, 2026

---

# Exclude lightbox

 *  Resolved [Michael Rieder](https://wordpress.org/support/users/teamtacho/)
 * (@teamtacho)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/exclude-lightbox/)
 * Hi Arno
 * Is it possible to exclude the lightbox function for the images shown at the bottom
   of a post (named as: <section id=”realted-posts”)
 * These images are asigned to randomly proposed posts which have nothing to do 
   with the post itself.
 * Best Regards Michael
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-lightbox%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/exclude-lightbox/#post-18949200)
 * Maybe I don’t fully understand the problem.
 * The images at the bottom of the post are linked – but not to the related post,
   but to the teaser image of the post. Even if PhotoSwipe would ignore them, they
   would still open as image in the browser window and not bring you to the post.
   How would that be better?
 * So your problem may not be PhotoSwipe (that does not create links, just use them)
   but the fact, that the “proposed posts” feature on your website does not link
   the images to the posts. I don’t know what kind of plugin or theme you use for
   that, but I would ask the creator of that feature, if it is possible to link 
   the images to the posts as well. At least as a visitor I would expect to get 
   to the post even if I click the image and not the text below it.
 * Edit: ich spreche auch Deutsch, wenn das einfacher ist.
    -  This reply was modified 1 week, 4 days ago by [Arno Welzel](https://wordpress.org/support/users/awelzel/).
    -  This reply was modified 1 week, 4 days ago by [Arno Welzel](https://wordpress.org/support/users/awelzel/).
 *  Thread Starter [Michael Rieder](https://wordpress.org/support/users/teamtacho/)
 * (@teamtacho)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/exclude-lightbox/#post-18949653)
 * Danke Arno
 * ich habe das “Problem” gefunden. Ich hatte ein code snipped eingefügt, das mir
   das featured image des Beitrags auch in der light-box anzeigt. Leider hate es
   dann die links der related posts gekappt und stattdessen diese auch in der light-
   box angezeigt.
 * Ich werde das korrigieren.
 * Herzliche Grüße Michel

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-lightbox%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/lightbox-photoswipe/assets/icon-256x256.png?rev=2906302)
 * [Lightbox with PhotoSwipe](https://wordpress.org/plugins/lightbox-photoswipe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-photoswipe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-photoswipe/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-photoswipe/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Michael Rieder](https://wordpress.org/support/users/teamtacho/)
 * Last activity: [1 week, 4 days ago](https://wordpress.org/support/topic/exclude-lightbox/#post-18949653)
 * Status: resolved