Support » Fixing WordPress » Twenty Fourteen slider not slide

  • Resolved jeffqc


    i just instal the Twenty Fourteen on a already working wordpress self-host site.
    Alss is working preety well but for some reason the slider is appearing, but not slide. The first image appear and all but they dont move like others sliders.

    Is this notmal?
    my site:

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi @jeffqc,

    This is the normal behavior of the theme. you have to click on next or previous arrow to move slides in the slider or press next / previous cursor keys to move it.

    Best Regards,

    It would be nice to have an «auto-slide» option 🙂

    Hi @jeffqc,

    It seems from the developer reply posted here that this option is intentionally left out from the slider.

    You can add following custom code in functions.php file of your child theme to make it auto slide.

    function add_script_in_footer(){
    <script type="text/javascript" charset="utf-8">
            var change_every = 5; // The number of seconds that the slider will auto-advance in
            var current = 1;
            function auto_advance(){
                if(current == -1) return false;
                jQuery('#featured-content .slider-next').eq(current % jQuery('#featured-content .slider-next').length).trigger('click', [true]);
            setInterval(function(){auto_advance()}, change_every * 1000);
    add_action('wp_footer', 'add_script_in_footer');


    Whoa nice here is the result :

    Tell them they can use my site in their theme «showcase» if they need.

    Anothers thing, the slider image should hav an option to -autoresize- the images.

    should i start a new topic for that subject??

    should i start a new topic for that subject??

    Yes, and please do so on the theme’s sub-forum:

    Hi @jeffqc,

    You are most welcome.

    Anothers thing, the slider image should hav an option to -autoresize- the images.

    should i start a new topic for that subject??

    As per the Forum Welcome, please start a new topic.


    I used the code above and it worked like a charm. However if someone comes across this thread and isn’t comfortable with child themes or altering their code, you can install the plugin called “fourteen Extended” by Zulfikar Nore. one of the many options it adds in the customize window (under Featured Slider Options) is to have the slider auto-advance. Works really well too!

    I tried that code, when I put it into my child theme’s functions.php file, I could not access my WordPress dashboard. The dashboard returned to normal when I removed that code. What am I doing wrong?



    Forum Moderator

    @ckatzman: If you require assistance then, as per the Forum Welcome, please post your own topic.

    This 2 month old topic has been resolved.

    Just wanted to add that the code worked perfectly for me, too. My only gripe is that it moves too fast. It’s obvious how to lengthen how long each entry is visible, but not how to make the entry slide more slowly. But it’s a minor problem, so it’s not a big deal. So thanks for that code, WPMUDEV! Much appreciated!

    put the code at the final end of the php file that way your sure you dont cut anny codes. by the way thanks for the answer.

    i used this code in my webside. and everything got messed up. site not opening their is some error.

    please help.

    Hi @team TFA,

    Sorry to hear of the problem you are having.

    I have tested the code on my test site using latest version of Twenty Fourteen theme and it worked fine without any issue.

    I think the issue is raised on your site because of doing mistake in copy pasting the code in functions.php file of your theme.

    Could you please share me the code from functions.php file of your theme by pasting it on the site and sharing me its unique URL?

    I checked your site and found the following error message.

    Parse error: syntax error, unexpected '}' in /home3/dhvanit/public_html/tfa/wp-content/themes/hiphop/functions.php on line 401

    It seems from the above error message that you might have added the code in the hiphop theme that you are using and not Twenty Fourteen theme. This code is developed for Twenty Fourteen theme so you should use it in the Twenty Fourteen theme.


Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Twenty Fourteen slider not slide’ is closed to new replies.