-
AuthorPosts
-
September 27, 2018 at 10:40 am #1015211
Hello I’m using the Next Gen Gallery pro plugin, I’ve activated your lightbox that has proofing system and other things that interest me. The question is that when I click a photo to make fullscreen I get the nextgen lightbox but when I cancel the full screen I get the Enfold lightbox and I have to cancel the full screen again, how can I replace or remove the enfold lightbox? The next gen support has told me that I need to talk to you.
- This topic was modified 6 years, 2 months ago by SomosOtroConcepto.
September 27, 2018 at 12:35 pm #1015260Hey SomosOtroConcepto,
You should be able to deactivate the standard theme lightbox with following code:
add_filter('avf_use_standard_lightbox', 'avia_default_lightbox_scripts', 10, 1); function avia_default_lightbox_scripts($use_standard_lightbox = '') { $use_standard_lightbox = "disabled"; return $use_standard_lightbox; }
– you can add it to the child theme functions.php.
Best regards,
PeterSeptember 27, 2018 at 1:44 pm #1015277or disable the Next Gen Lightbox effect !
NextGen Galleries – Other options – Lightbox effectsSeptember 27, 2018 at 2:20 pm #1015295I need Next Gen Lightbox for proofing system and comments !!
September 27, 2018 at 4:04 pm #1015351October 1, 2018 at 10:15 am #1016519I’ve activated your lightbox that has proofing system and other things that interest me
as you need the enfold lightbox for that.Sorry this was wrong written. I mean that ive activated Next gen gallery and i need his proofing system, so i cant desactivate it. enfold lightbox dont have any proofing system
October 1, 2018 at 10:48 am #1016547I add that code to functions-enfold.php but know web runs weird, when i wanna use preview of a page, it goes to myweb.com/wp-admin/post.php and it stays blank. This happen also when i want to upload page.
October 1, 2018 at 10:50 am #1016550Hi,
Please add the code to functions.php (at the very bottom) and not functions-enfold.php. I’d recommend to use a child theme ( http://kriesi.at/documentation/enfold/using-a-child-theme/ ) and to add the code to the child theme functions.php.
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.