WordPress.org

Ready to get started?Download WordPress

Forums

HG Slider
[resolved] Images aren't showing inside slider (2 posts)

  1. cristian5
    Member
    Posted 7 months ago #

    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/

  2. cristian5
    Member
    Posted 7 months ago #

    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! :)

Reply

You must log in to post.

About this Plugin

About this Topic