-
Author
-
October 15, 2014 at 02:25 #31751patkellydesignsgmail-comParticipant
how do I disable this magnific-popup? I want to use Social Gallery plugin or Foobox to handle images.
I’m getting 2 light boxes no matter what I try!
October 16, 2014 at 15:32 #31932sharmstrModeratorI think its used in two places. But have you tried disabling it in rtMedia?
WP Admin -> rtMedia -> Settings -> Use lightbox to display media
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 20, 2014 at 14:18 #32203CatalinModeratorHave you figured it out? @Patkellydesigns
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 20, 2014 at 17:36 #32254patkellydesignsgmail-comParticipant@sharmstr Don’t even have RT-Media installed
After you mentioned it I installed my copy of RT-Pro and disabled light box just for badness but it didn’t do much
🙁Thank youfor your reply though
@Catalin NopeI tried to do it forcefully just deleted the entire plugin folder \kleo\assets\js\plugins\magnific-popup\ Hoping it would fallback on WordPress – No dice <—Magnific still loads from somewhere. Yes I cleared cache.
I tried a more gentle approach I //commented it out in functions and it breaks the Clients Module in jscomposer
AND in the Gallery Pages I get two Lightboxes (Magnific being one of them)I want to use JIG accompanied by SocialGallery – This should be easy but…
Can someone not tell me how do disable the Lightbox? This theme certainly doesn’t depend on it as I see in the code that it used to use Prettyphoto and THAT is commented out…
So any Ninja’s out there know how I can get magnific to go away?
October 25, 2014 at 21:24 #33047CatalinModeratorHi, to disable the magnific popup do this:
A.
– open wp-content/themes/kleo/assets/js/app.js
– comment or remove this lines around 620:COPY CODE/* Regular popup images */ $("a[data-rel^='prettyPhoto'], a[rel^='prettyPhoto'], .article-content a[href$=jpg]:has(img), .article-content a[href$=JPG]:has(img), .article-content a[href$=jpeg]:has(img), .article-content a[href$=JPEG]:has(img), .article-content a[href$=gif]:has(img), .article-content a[href$=bmp]:has(img), .article-content a[href$=png]:has(img)").magnificPopup({ type: 'image', mainClass: 'mfp-img-pop', gallery:{ enabled: true } }); /* WordPress Gallery */ $(".gallery a[href$=jpg], .gallery a[href$=JPG], .gallery a[href$=jpeg], .gallery a[href$=JPEG], .gallery a[href$=png], .gallery a[href$=gif], .gallery a[href$=bmp] :has(img)").parent().magnificPopup({ delegate: 'a', type: 'image', mainClass: 'mfp-gallery-pop', navigateByImgClick: true, gallery: { enabled: true, navigateByImgClick: true, preload: [0,1] } });
B.
or if you don’t need the login modal you can just comment this around line 33COPY CODEkleoPage.magnificPopup();
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 12, 2014 at 15:00 #35197ElvParticipantHello,
I would like to disable the LightBox as well. I have completely deleted all of those lines above out of the app.js file, and I still can’t stop the LightBox?
Any idea how I can disable this?
Thanks.
November 12, 2014 at 15:05 #35200sharmstrModeratorapp.js has been minified. You need to either re-minify app.js after you make the changes or make the changes in app.min.js
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 12, 2014 at 15:16 #35202ElvParticipantWoohoo… big images are back 🙂 Thank you!
For anyone else following this later, I’ve never minifed anything before myself, but just used this online compression tool – http://jscompress.com/
Thanks again.
March 24, 2016 at 19:51 #112628MCDSParticipanthi,
I need to disable the default magnific-popup in order to use another plugin (now I have 2 lightboxes for 1 picture!). The way from 2014 is still the same: operate in app.js? I never did it… 😛
Thank you.
March 25, 2016 at 14:09 #112729AbeKeymasterHi, I just did a new option for you to disable the magnific popup in the blog articles. You will see the new option in Theme options – Miscellaneous
You will need to replace the theme files attached on your server until the next update to make it happenHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.