Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter orgnsm

    (@orgnsm)

    it’s not a CSS bug because viewing source doesn’t show any captions in the slider elements. i’ve also tried “title” and “post_title” as the values for show_caption. according to the plugin doc any value other than “none” will show titles…

    Thread Starter orgnsm

    (@orgnsm)

    checking out the plugin PHP I was able to discover that lowercase is needed “post title” to trigger it. could maybe be more specific in the documentation. thanks though, works great.

    Thanks for using my plugin and I apologize for the confusion. I’ve updated the documentation to be clearer. Thanks!

    Thread Starter orgnsm

    (@orgnsm)

    Cheers, thank you for building this connection between WP and flexslider and updating the doc.

    Also, in case anyone is interested: I made the captions animate in and out by editing flexslider.js in the following way:

    jQuery(window).load(function(){
        jQuery('.flexslider').flexslider( {
    
            pauseOnHover: true,
            controlsContainer: ".flex-container",
        	slideshowSpeed: 8000,
    
            before: function(slider){
                var currentSlide = slider.slides.eq(slider.currentSlide);
                jQuery(currentSlide).find('.flex-caption').animate({'opacity':'0','right':'30px'},500);
            },
            after: function(slider){
                var currentSlide = slider.slides.eq(slider.currentSlide);
                jQuery(currentSlide).find('.flex-caption').animate({'opacity':'1','right':'0'},700);
            },
            start: function(slider){
                var currentSlide = slider.slides.eq(slider.currentSlide);
                jQuery(currentSlide).find('.flex-caption').animate({'opacity':'1','right':'0'},900);
            },
    
        } );
    
    } );

    … something like that could be a feature for the plugin in the future.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘using show_caption in a shortcode doesn't show any captions’ is closed to new replies.