Tagged: Lightbox, prettyphoto
-
AuthorPosts
-
May 9, 2014 at 6:32 am #262142
I am one of the many people trying to use a custom lightbox plugin (FooBox) for galleries and such. The support forum has many requests for how to turn off the default prettyPhoto and the answer is always by editing js/avia.js and commenting out the prettyPhoto line there.
Unfortunately this gets overwritten with theme updates and as far as I know, there isn’t a way to maintain this in my child theme (if there is a way, then perhaps that would be the solution), so it’s kind of a pain to remember to re-edit the file after every update of the theme.
Would it be possible to just make this a theme admin setting? A simple “disable prettyPhoto” checkbox?
Thanks
- This topic was modified 10 years, 7 months ago by ilowelife. Reason: Clarifying my issue paragraph
May 9, 2014 at 7:32 am #262187Hi!
We are aware of that, in the meantime you can use this child theme (as a starting point), which deactivates the standard pp lightbox and loads the fancybox script instead.
Best regards,
JosueJune 9, 2014 at 2:11 pm #276433Good Afternoon,
Thanks for great Tech support.This is a 2 part question. As per prior support answer:
———————
https://kriesi.at/support/topic/change-layout-prettyphoto/#post-173889
Enfold\js\prettyPhoto\js folder and open jquery.prettyPhoto.js file. Search “theme” and find http://i.imgur.com/VKAoooU.jpg
and change “pp_default” with “dark_square”.
Regards,
Yigit
————-Is there a way to edit or call a replacement jquery.prettyPhoto.js file in a child theme such as the child theme attached?
Also I just downloaded this child theme and it has a lot of existing function calls?
The child theme I currently run was from last year and came with a blank function file which was used for styling only. I have added few simple functions but nothing referencing similar functions to this sample.
Is this updated child theme a better version to work from (just without the dequeue / register scripts related to the question above for fancybox?
Warm regards
Paul
June 9, 2014 at 5:28 pm #276474Hey!
The child theme is no better or worse. It simply is a different starting point for a different purpose.
So you can bring over those functions to do the same thing.
Cheers!
Devin -
AuthorPosts
- You must be logged in to reply to this topic.