Jenni Skinner
asked 8 years ago

Hello all, working with the DW Page Modern theme for a client. The theme uses one large image for the header, but the client was hoping we could make that one image into a slider, where multiple images transition in and out. Please let me know if this is possible and how to do it if so. Thanks so much!

1 Answers
DominicStaff
answered 8 years ago

Hello Jenni !
Yes you can totally do it.
To add an image slider to the header section of the  DW Page theme, you can use the Meta slider plugin. Please find the plugin here: http://wordpress.org/plugins/ml-slider/
– After installing the plugin, If you want to control the delay time in Meta slider plugin, you can add the following code to the functions.php file in the folder path “\wp-content\themes\dw-page-modern”.

   function metaslider_flex_params($options, $slider_id) {
    if ($slider_id == 470) { // change 470 to the slideshow ID to be delayed
        $options['initDelay'] = 9000;
    }
    return $options;
}
add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_params', 10, 2);

Notice: You can add the code under the line 1 of the file. The above sample code will delay the start of the slideshow by 9 seconds.
Hope this helps !

Powered by DW Question & Answer Pro