Robert Neu
Forum Replies Created
-
Great! I’m glad it’s working as expected now. Let us know if anything else comes up.
This sounds like something in your theme. Our plugin does not apply any zoom effect when hovering images.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Video LightboxHey there,
You definitely can use it on a video. You’ll just need to add some data attributes to the video that you’d like to open in a lightbox. We have an example video embed on our starter theme demo and there is a Gist with example code as well.
Hope that helps!
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Image size issueIt looks like your theme or gallery plugin is loading over top of Featherlight and the issues you’re seeing are with that lightbox rather than the one in Featherlight.
In order for Featherlight to work correctly, you’ll need to disable the lightbox in your theme or plugin. Check the settings to see if it can be disabled. If not, I would recommend reaching out to the developer of your theme/plugin to see if they can recommend how to disable their lightbox.
Thanks!
Hey there,
I’m sorry but this falls outside of what we’re able to provide support for. If you need developer help, you can probably find someone who can answer your question on StackOverflow.
Hey Daniel,
The previous version of Featherlight was fully compatible with 4.8, so I’m guessing it was something in the theme. We’ve also just released a new version today, so I’d recommend updating and testing again.
If you’re still having an issue, let me know and I’ll see if there’s anything I can do to debug it.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Override defaults (closeOnClick)Hey there,
I’m sorry but this falls outside of what we’re able to provide support for. If you need developer help, you can probably find someone who can answer your question on StackOverflow.
Hey There,
We’ve had a few other requests for this, but there’s no clean way to implement it with all the variables present across different themes.
Here’s a thread with some suggestions on how you could implement it yourself.
Hope that helps!
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] pagination closes windowHey there,
I’m sorry but this falls outside of what we’re able to provide support for. If you need developer help, you can probably find someone who can answer your question on StackOverflow.
Hey Kelly,
I’m not able to view that page as it’s hidden behind a password protection screen. If you can make it public, I’ll try to figure out what’s causing your issue.
Thanks!
Hello,
Please try updating to the latest version and see if the issue persists. If it does, it’s likely an issue with your theme. I don’t see any images on the page you linked to, so I’m not able to verify whether or not that’s the case.
Thanks!
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Update?Hey nikodemsky,
1.2.0 was released today which includes the latest version of Featherlight (1.7.9).
Hey jdaniel,
There are use cases where it makes sense to load the lightbox scripts in archives. They might not be necessary on your site but this plugin is designed for use by as many people as possible. In order for it to be useful to as many people as possible without bloating the plugin with settings, I need to paint with a fairly broad brush.
The scripts and styles we load are very minimal, especially compared to the typical scripts and styles loaded by other WordPress plugins and themes so I don’t have a problem with loading them site-wide. If you would rather they didn’t load in other places, the filters mentioned are there for you to adjust things as you see fit.
This snippet should do what you’re asking, but you might need to adjust it more depending on exactly where you want the plugin scripts to load.
add_action( 'wp_enqueue_scripts', 'prefix_featherlight_singular_only', 12 ); /** * Remove all WP Featherlight scripts and styles on every screen except single * posts, pages and custom post type entries. * * @since 1.0.0 * @access public * @return void */ function prefix_featherlight_singular_only() { if ( ! is_singular() ) { add_filter( 'wp_featherlight_load_css', '__return_false' ); add_filter( 'wp_featherlight_load_js', '__return_false' ); } }
- This reply was modified 7 years, 5 months ago by Robert Neu.
- This reply was modified 7 years, 5 months ago by stephencottontail.
Sweet!
Hey tylorreimer,
It looks like your theme is throwing a type error which is the likely cause of the issues you’re having:
TypeError: e(...).svgToInline is not a function
If you can find the source of that issue, I think you should be good to go.