We're merging with GenerateBlocks! Learn more here.

[Support request] WPSP Post galleries and regular WP galleries

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support WPSP Post galleries and regular WP galleries

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #28166
    Mikael
    Participant

    Hello!

    I need to use both post thumbnail lightbox galleries as with WPSP, but also regular WP galleries in single posts with lightbox.

    If I install WP Featherlight or Simple Lightbox to achieve this there is a conflict with WPSP. Can’t use both so I’m kinda stuck with one or the other.

    Still I would really need both functions.

    Any ideas how make this happen?

    Thanks,

    #28496
    Mikael
    Participant

    I would really appreciate help on this matter.

    #28522
    elvin
    Moderator

    Hi there,

    Yeah, these plugins use the same script WPSP uses on its lightbox. That’s why it breaks.

    I don’t think this is doable because if we dequeue WPSP’s scripts, the other plugins will work but WPSP will lose its lightbox gallery function.

    The same goes the other way around, unfortunately. I’m afraid you may have to look for another plugin that doesn’t use the same script as WPSP.

    #28548
    Mikael
    Participant

    Ok, thank you.

    Could you add regular lightbox gallery functionality into WPSP in a coming update? It would make life easier.

    #28552
    elvin
    Moderator

    I’m not exactly sure if and when this will be implemented as WPSP’s focus is more on showing posts lists. (hence the same WP Show Posts)

    To attempt to solve the issue: If you could link us to the page where the issue is occurring, we can inspect it and try to make something work.

    If you wish to keep the link private, you can send the details through our contact page. https://wpshowposts.com/contact/

    #28556
    Mikael
    Participant

    I have now sen you a message through your contact page.

    #28635
    elvin
    Moderator

    Thanks.

    I’ve observed the page and I think we can do a workaround.

    You can just stick w/ the plugin your site is currently using (Simple Lightbox). Let’s just dequeue the scripts from WPSP’s featherlight so the lightbox is handled by your plugin.

    Add this PHP snippet.

    remove_action( 'wp_enqueue_scripts', 'wpsp_lightbox_scripts' );

    You can place this code on a functions.php of a child theme or using a Code snippets plugin.

    With this, Simple Lightbox will take over WPSP’s featherlight as the gallery function.

    #28637
    Mikael
    Participant

    That worked wonderfully. Super thanks for your help!

    #28648
    elvin
    Moderator

    Glad you got it sorted. No problem. 😀

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.