Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   If you want to shut off Montezuma's gallery effect (http://forum.bytesforall.com/showthread.php?t=21213)

juggledad Dec 3, 2013 05:49 PM

If you want to shut off Montezuma's gallery effect
 
Montezuma has a built in gallery lightbox effect using ColorBox v1.3.20.1 - jQuery lightbox plugin.
If you wish to disable it on galleries - maybe because you want to use another jquery plugin or you just don't want it - here is what to do:

Edit function.php and change line 70 (version 1.1.9) from
HTML Code:

                $is_gallery = 1;
to
HTML Code:

                $is_gallery = 0;
and the built in effect on galleries will stop.


All times are GMT -6. The time now is 03:09 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.