【问题标题】:Use Responsive Lightbox for FooGallery in wordpress在 wordpress 中为 FooGallery 使用响应式灯箱
【发布时间】:2015-12-02 14:54:53
【问题描述】:

我有多个由 FooGallery 制作的画廊,现在我想通过 "Responsive Lightbox by dFactory" 插件显示画廊图像。我还安装了 Swypebox

但灯箱只显示每个画廊的第一张图片!

【问题讨论】:

    标签: wordpress plugins image-gallery


    【解决方案1】:

    我找到了解决方案here, in the WordPress suport forums

    本质上,你需要钩入 FooGallery 的 foogallery_attachment_html_link_attributes 钩子。

    注意:如果您之前为任何画廊选择了另一个灯箱(例如 FooBox),则必须编辑该画廊并将灯箱设置为“无”。否则,我发现 dFactory 的 FooBox 和 RL 都会触发,给你奇怪的结果(可能包括你遇到的)。希望这会有所帮助。

    【讨论】:

    • 此链接不直接解决问题
    猜你喜欢
    • 2013-07-02
    • 1970-01-01
    • 2012-12-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-14
    • 1970-01-01
    相关资源
    最近更新 更多