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

推荐订阅源

V
V2EX
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - Franky
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
S
SegmentFault 最新的问题
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
有赞技术团队
有赞技术团队
B
Blog RSS Feed
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare Blog
博客园_首页
博客园 - 聂微东
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏

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.