惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 聂微东
美团技术团队
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
云风的 BLOG
云风的 BLOG
罗磊的独立博客
V
Visual Studio Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
V
V2EX
The GitHub Blog
The GitHub Blog
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

WordPress Plugin

How to Create an Audio Player Playlist from an XML File Copy Audio URL in Wonder Audio Player YouTube Error 153 | WordPress Plugin Wonder Lightbox JavaScript Events | WordPress Plugin How to Create a WordPress Gallery from an XML File How to Remove URL Query Parameters in Wonder Lightbox How to Dynamically Create a WordPress Image and Video Gallery Using WordPress Media Library IDs How to Make the PDF Page Fit the Entire Lightbox Width When Opening a PDF File Double Tap to Play or Pause the WordPress Audio Player on Touch Devices
How to Add an Image to the Lightbox Gallery Without Showi...
2024-09-23 · via WordPress Plugin

Product:

Wonder Grid Gallery

Tutorial:

Using the Wonder Grid Gallery plugin, it's easy to create a WordPress grid gallery for images and videos. When clicking on an image in the grid gallery, a lightbox gallery pops up, displaying all the images and videos in the gallery.

In some cases, you may not want to display an image in the grid but still want it to appear in the lightbox popup gallery. This tutorial will guide you on how to do it.

To hide an image in the grid gallery while still displaying it in the lightbox gallery, navigate to Step 4 in the plugin, under the Options tab. In Advanced Options, add the following code to the Custom CSS input box:

#wonderplugingridgallery-GRIDGALLERYID .wonderplugin-gridgallery-item-2 {
    display: none !important;
}

The image order starts at 0, so the number "2" in the code .wonderplugin-gridgallery-item-2 hides the third image in the gallery. Be sure to change this number if you want to hide a different image in the gallery.

An online demo is shown below. The zebra image is hidden in the grid but appears as the third image in the lightbox popup gallery.