Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

If you want to shut off Montezuma's gallery effect


  #1  
Old Dec 3, 2013, 05:49 PM
juggledad's Avatar
juggledad
 
23,520 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to add menu images, understanding Montezuma's menus coolpillows Montezuma Theme 10 Jan 10, 2013 12:35 PM
Using Jetpack's carousel effect instead of builtin effect jboss Montezuma Theme 1 Oct 24, 2012 11:18 PM
Help! With Breadcrumb NavXT & syntax error that has my site shut down. MtnStreamGroup Page & Category Menu Bars 16 Feb 8, 2011 11:07 AM


All times are GMT -6. The time now is 10:42 AM.


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