• Resolved xSann

    (@xsann)


    Hello,

    This plugin sounds amazing and on the default 2015 theme it works. But when i use my self made custom theme it doesn’t. Can you help me find out why not? I can change anything in the theme so it would be nice if you could tell me what to change. I also read the previous problems from others but those mistakes they had aren’t in my theme. I created my theme from scratch so I might be missing something.

    I used other lightboxes before and some of them worked and others didn’t. To view my page: http://www.piixel.nl/japan-crate-japanese-candy-subscription-box the two little images have ‘link to media file’.

    Thanks!

    https://wordpress.org/plugins/wp-featherlight/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter xSann

    (@xsann)

    Only thing i found was that i have two jquery libraries but those come from wordpress itself and if i cange to 2015 theme it still has the two and the plugin works.

    Plugin Author Robert Neu

    (@fatmedia)

    Hey xSann,

    It looks like there’s a JS error being thrown on your site that’s preventing the execution of WP Featherlight.

    The error is TypeError: jQuery.equalizer is not a function and it seems to be caused by a related posts function in your theme?

    It looks like it’s caused by this code block just before your comments are output:

    jQuery(document).ready(function( $ ){
       //jQuery('.yuzo_related_post').equalizer({ overflow : 'relatedthumb' });
       jQuery('.yuzo_related_post .yuzo_wraps').equalizer({ columns : '> div' });
    });

    I’m guessing that there’s a JS library that’s not being enqueued at all or not being enqueued early enough.

    I hope that helps!

    Thread Starter xSann

    (@xsann)

    Hi Robert,

    That’s from another plugin, i already asked to maker to fix it. But if i disable that plugin wp feather still doesn’t work. I disabled it now so you can see.

    Thanks for looking.

    Plugin Author Robert Neu

    (@fatmedia)

    Hmmm… That’s really strange. For some reason the jQuery file from WP Featherlight isn’t being loaded on that page at all. I see the CSS file in the head, but no JS in the footer.

    Normally the only way that would happen is if it’s been removed in the theme or another plugin by either using one of our filters, unhooking the function that loads it, or by dequeueing the script handle.

    I’d be happy to investigate a bit more if there’s a way for you to provide me access to your server. If you’re comfortable sending access, you can send it over to hello@wpsitecare.com using https://www.pastevault.com/

    Without more access, I don’t think there’s anything else I can do on my end.

    Thread Starter xSann

    (@xsann)

    Ah weird I really don’t know what might be the problem then. I emailed the info to you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin not working on my theme?’ is closed to new replies.