Support » Plugins and Hacks » Responsive WordPress Slider - HG Slider » Images aren't showing inside slider

  • Resolved cristian5

    (@cristian5)


    I’ve installed the Flex Slider HG ( http://wordpress.org/support/plugin/flexslider-hg ) plugin but if I add two or more slides then all the slides aren’t displaying anymore. If I only have one slide then the image appears fine, but the moment another slide is added, all the slides disappear… like this: http://awesomescreenshot.com/0921ncfq5d
    When I have two or more slides created and I refresh the page, the slider looks exactly as it should (the first slide is shown) for about 0.3 seconds and after that all the slides disappear.

    This is from my functions.php:

    function set_flexslider_hg_rotators( $rotators = array() )
    	{
    	    $rotators['homepage'] 		= array( 'size' => 'large', 'heading_tag' => 'h1' );
    	    return $rotators;
    	}
    add_filter('flexslider_hg_rotators', 'set_flexslider_hg_rotators');
    add_image_size( 'homepage-rotator', '960', '300', true );

    And this is from my custom home template where I want the slide to appear:
    <?php if(function_exists('show_flexslider_rotator')) echo show_flexslider_rotator( 'homepage' ); ?>

    Is there anything wrong with the code above?

    http://wordpress.org/plugins/flexslider-hg/

Viewing 1 replies (of 1 total)
  • I feel so stupid !!! The problem was that I had a link to jquery.flexslider.js in the <head> area, which interfered with the plugin. So the problem is resolved and the plugin works perfectly! 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Images aren't showing inside slider’ is closed to new replies.