【发布时间】:2015-12-02 14:54:53
【问题描述】:
我有多个由 FooGallery 制作的画廊,现在我想通过 "Responsive Lightbox by dFactory" 插件显示画廊图像。我还安装了 Swypebox!
但灯箱只显示每个画廊的第一张图片!
【问题讨论】:
标签: wordpress plugins image-gallery
我有多个由 FooGallery 制作的画廊,现在我想通过 "Responsive Lightbox by dFactory" 插件显示画廊图像。我还安装了 Swypebox!
但灯箱只显示每个画廊的第一张图片!
【问题讨论】:
标签: wordpress plugins image-gallery
我找到了解决方案here, in the WordPress suport forums。
本质上,你需要钩入 FooGallery 的 foogallery_attachment_html_link_attributes 钩子。
注意:如果您之前为任何画廊选择了另一个灯箱(例如 FooBox),则必须编辑该画廊并将灯箱设置为“无”。否则,我发现 dFactory 的 FooBox 和 RL 都会触发,给你奇怪的结果(可能包括你遇到的)。希望这会有所帮助。
【讨论】: