Is there any method to force Wordpress/inFocus to display all zoomable images in a PrettyPhoto style automatically?
PrettyPhoto for all images
(2 posts)
(2 voices)
-
Posted 1 year ago #
-
Hello mujeha,
Open up
/wp-content/themes/infocus/lib/scripts/custom.jsand 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.













