PrettyPhoto for all images

pending (2 posts) (2 voices)

  1. mujeha
    Member

    Is there any method to force Wordpress/inFocus to display all zoomable images in a PrettyPhoto style automatically?

    Posted 1 year ago #
  2. Elliott
    Support

    Hello mujeha,

    Open up /wp-content/themes/infocus/lib/scripts/custom.js and on lines 218 - 221 you will see the prettyPhoto code,

    //prettyPhoto
    jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
    	"theme": 'light_square' /* light_rounded / dark_rounded / light_square / dark_square */
    });

    Right now it is selecting links with "prettyPhoto" inside the rel attribute. I think prettyPhoto only works with links so let us know exactly which images you are wanting to add to prettyPhoto and we'll take a closer look to see if we can add them to the structure above.

    Posted 1 year 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