Buy me a coffee

Summary Block Lightbox

Description

  • Summary Block, pull posts from Blog Page
  • Click each summary item >> Open blog post in a Lightbox

#1. First, edit Summary Block > Enable Excerpt

Summary Block Lightbox 1 Min

#2. Next, find Summary Item URL.
In my example, we will have

  • /blog-2-1/the-mountai-bike
  • /blog-2-1/blog-post-title-two-km9nm
  • /blog-2-1/blog-post-title-four-r46pw

Summary Block Lightbox 2 Min

#3. Edit Post Excerpt > Add text/url

Make sure “Open in New Tab”

  • Quick View – #wm-popup=/blog-2-1/the-mountai-bike
  • Quick View – #wm-popup=/blog-2-1/blog-post-title-two-km9nm
  • Quick View – #wm-popup=/blog-2-1/blog-post-title-four-r46pw

Summary Block Lightbox 3 Min

Summary Block Lightbox 4 Min

Summary Block Lightbox 5 Min

#4. Install this Lightbox Plugin
Plugin will give you some code to add to Code Injection Header/Footer, like this.

62cc43d98df635a86ce7

660b171fd930616e3821

#5. Result
When users click Quick View, it will open item in Lightbox.
Here I use text Quick View, but you can change it to Lightbox, Read more or any text what you want.

Summary Block Lightbox 8 Min

#6. If you want whole item clickable to lightbox, use this code to Custom CSS box.

div.summary-excerpt a[href*="#wm-popup"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent !important;
}

Summary Block Lightbox 9 Min

Result

Summary Block Lightbox 10 Min