Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 06:49 PM
juggledad's Avatar
juggledad
 
23,765 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



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 01:35 PM
Using Jetpack's carousel effect instead of builtin effect jboss Montezuma Theme 1 Oct 25, 2012 12:18 AM
Help! With Breadcrumb NavXT & syntax error that has my site shut down. MtnStreamGroup Page & Category Menu Bars 16 Feb 8, 2011 12:07 PM


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


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