prettyPhoto dependencies

resolved (4 posts) (2 voices)

  1. Hi,

    I don't want to use prettyPhoto on my site. Instead, I want to use fancybox.

    However, there seems to be a few things that depend on prettyPhoto plugin. Could you please tell me what I need to update/remove so that I can completely remove prettyPhoto from my site and cleanly implement fancybox?

    I tried adding fancybox without removing prettyPhoto but there seems to be a conflict between the two e.g. when I open up a page in an iframe using fancybox, I see all the prettyPhoto artifacts in there such as previous, next, etc.

    So, I really want to be able to remove all prettyPhoto related stuff -- css, plugin and references.

    Thanks,

    Sam

    Posted 4 months ago #
  2. Elliott
    Support

    Hello imsam,

    Open up /wp-content/themes/[your_theme]/lib/scripts/custom.js and comment out or delete lines 72 - 77,

    /*
     * prettyPhoto
     */
    jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
    	overlay_gallery: false, social_tools: '', 'theme': 'light_square' /* light_square / dark_rounded / light_square / dark_square / facebook */
    });
    Posted 4 months ago #
  3. Thank you very much Elliot. That fixed the issue.

    Posted 4 months ago #
  4. Elliott
    Support

    Your welcome, let us know if you have any other questions.

    Posted 4 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme