Squazz
Forum Replies Created
-
Forum: Meetups
In reply to: Israel? :)Are there any meetups in Jerusalem?
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileI was thinking that giving people the option in the settings might be a good idea?
I will still keep my vote for “not working” until the “issue” is resolved. I had to disable the top and bottom bars to make it work. That’s not necessary when I try out the native plugin on the same site.
Still, it shouldn’t be necessary to make an inverse check so that I can set the settings correctly. It feels rather hacky the way it’s done.
I tried out the wp_is_mobile(), and it seems to work. Thanks for that tip, saves me a plugin 😉
Under Users each user can set their “Facebook profile URL”, i added http:// to my FB URL here, and it seems to have removed the problem
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileWith the following code I was able to create a workaround:
/* Use SwipeBox on mobile devices */
function custom_rl_lightbox_args($args) {
require_once ‘/home/squazzdk/public_html/wp-content/plugins/wp-mobile-detect/mobile-detect.php’;
$detect = new Mobile_Detect();
if (!$detect->isMobile()) {
$args[‘script’] = ‘prettyphoto’; // swipebox, nivo, prettyphoto, fancybox
}
return $args;
}
add_filter(‘rl_lightbox_args’, ‘custom_rl_lightbox_args’);
/* Use SwipeBox on mobile devices END */I then had the ability to set Swipebox as the primary, and edit the sittings to this: Lightbox settings -> Top and bottom bars -> Disable
It’s a shame that this should be possible. I really hope that dFactory will provide a proper fix
Marking topic as resolved
Forum: Reviews
In reply to: [Add IDs to Header Tags] Great Tool! (can it do pages too?)Try seeing this support-thread: https://wordpress.org/support/topic/not-adding-ids?replies=4
I ended up just removing the check, and I haven’t had any problems with that solution yet.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileI could do that, or the developer could fix the problem instead of having us hack us through it 😉
Using my own function already seems like a compromise, it should be offered as part of the plugin instead.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileI can’t enable that setting as I’m using prettyBox as the primary, and created a function to turn on swipebox on mobile platforms.
Updating the settings for SwipeBox, doesn’t seem to wotk with my method when SwipeBox is not primary
yeah, I found it here: https://www.dfactory.eu/support/topic/its-possible-to-load-prettyphoto-on-pc-screens-and-swipebox-on-tabletsmobiles/
thanks 🙂