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

  1. cristian5
    Posted 3 years 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?


  2. cristian5
    Posted 3 years 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! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Responsive WordPress Slider - HG Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic