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)
-   -   [SOLVED] remove automatic gallery slideshow (http://forum.bytesforall.com/showthread.php?t=18703)

baignoire Oct 19, 2012 04:51 AM

[SOLVED] remove automatic gallery slideshow
 
hi there,
grats and thx for the very promising theme !! I am currently testing it and quite like it !!
a small question : how can i remove the automatic slideshow on wp standard post galleries ???
i use another feature to show the galleries so i wish i could get rid of it...
possible ? easy ? thx to let me know ;)
cheers
raf

juggledad Oct 19, 2012 05:39 AM

Quote:

how can i remove the automatic slideshow on wp standard post galleries ???
I'm not sure what you mean. Any post I have with a galery of images just shows the images.

did you try disabling all your plugins to see if any of them are causing an issue?

baignoire Oct 19, 2012 05:56 AM

hi again,
thx for caring ;)
i mean this :
Auto gallery slideshow
Galleries created with the standard WordPress “gallery” shortcode will get a “colorbox” slideshow applied to it automatically. In the HTML source code the gallery thumbs keep linking to the full attachment pages with the big image embedded, so that search engines can spider those (SEO Feature) while users get the quick, convenient slideshow (which can be stopped). TODO: Provide an extra link for users to get to the attachment pages as well, e.g. for leaving comments on individual images.
source : http://wordpress.bytesforall.com/wor...mes/montezuma/

Publish a standard gallery inside a post and you ll see the slideshow (well, at least i see it : http://rafonthenet.net/lfa/un-article-pour-voir/ (no plugin installed!))

thx
raf

juggledad Oct 19, 2012 08:36 AM

What plugin are you using. When I activate 'Lightbox Gallery' it takes over from the in theme slideshow.

lmilesw Oct 19, 2012 08:43 AM

Being able to configure this in the theme options may be something that will be added. For now if you don't want the auto slideshow...
  • Open get_javascript.php via Appearance>Editor
  • Search for slideshow and replace true with false
  • Go to the Montezuma theme options and open any of the main or sub templates for editing
  • Without making any changes click on the "Save Changes" button at the bottom. This is just so the changes made to the get_javascript.php file get "registered" with Montezuma.

baignoire Oct 19, 2012 08:44 AM

hi there
i am used to using and enjoying "easy fancybox" : when activated, the two lightboxes (theme automatic + easy fancybox one) appear one above the other... :(
i ll give a try with "lightbox gallery" as you suggested and see if i like it :)
thanks for help.

edit : i just gave a try with "lightbox gallery" : it uses the same 'colorbox' box as the native theme gallery... my problem with it is that it doesn't fit large images to the available screen size...
i ll try to figure out a workaround for this..

thanks for fast help !!

raf

baignoire Oct 19, 2012 09:03 AM

Quote:

Originally Posted by lmilesw (Post 91597)
Being able to configure this in the theme options may be something that will be added. For now if you don't want the auto slideshow...
  • Open get_javascript.php via Appearance>Editor
  • Search for slideshow and replace true with false
  • Go to the Montezuma theme options and open any of the main or sub templates for editing
  • Without making any changes click on the "Save Changes" button at the bottom. This is just so the changes made to the get_javascript.php file get "registered" with Montezuma.

hi
very strange !!
if i deactivate "easy fancybox" plugin then follow the above steps, then the colorbox is deactivated and images file open as expected, without any gallery effect...
but if then i activate "easy fancybox" and reload page, the native 'colorbox' shows up again !! i need to deactivate plugin and re-save get_javascript.php + any template in montezuma otpions for 'colorbox' to stop working...
i am not sure why, but it looks like having a js gallery script active (via plugin) overwrites the setting in get_javascript.php (???)
i m a bit confused.. :)
cheers
raf

juggledad Oct 19, 2012 09:11 AM

I just tested easy fancybox with a [gallery] in twenty-eleven and no silde show show up. If you add a single image or multiple seperate images, then the slide show shows up. This seems to be a bug with easy fancybox. You might want to try it yourself and then report it to the plugin author.

baignoire Oct 19, 2012 09:31 AM

Quote:

Originally Posted by juggledad (Post 91600)
I just tested easy fancybox with a [gallery] in twenty-eleven and no silde show show up. If you add a single image or multiple seperate images, then the slide show shows up. This seems to be a bug with easy fancybox. You might want to try it yourself and then report it to the plugin author.

thanks juggledad for testing and reporting :)
hmm, i'm having it working fine on multiple sites and themes, also i ve checked now it is runing fine on test site with twenty ten / eleven / twelve...
did you made sure you have a gallery that links to image files ( [gallery link="file"] shortcode ) ?

baignoire Oct 19, 2012 09:44 AM

hi again :)

finally managed to get it to work : i followed the steps given by imilesw but instead of just turniing 'true' to false', i commented out the whole js 'if' statement :
Code:

/*
if( jQuery().colorbox ) {
        $('.gallery figure a span').colorbox({rel: 'gal', slideshow: false, slideshowSpeed: 3500, opacity: 0.7, href: function(){
                var src = $(this).prev('img').attr('src').replace( /-\d+x\d+./, '.' ); // full src = remove '-150x150' from thumb src
                return src;
        }});
}
*/

didn't check if it throws me tons of js errors but the 'colorbox' seems to be disabled :)

thanks for help guys !!

regards,
raf

juggledad Oct 19, 2012 09:59 AM

No I just used [gallery] and that does not work with 'easy fancybox'. changing it to [gallery link='file'] and it does work and I see the issue, but I still think this is 'easy fancybox' issue.

but since you have solution I will mark this as solved.


All times are GMT -6. The time now is 08:30 AM.

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