Only one static image for slider

I was wondering if it is possible to set just one static image for the slider, so more like a banner than a slider. Also if it is possible to just upload that image and not pull it from a previous post


Hi @maria90,

I hope you are well today and thank you for your question.

Yes you can display the static image for the slider not pulling it from the post by using the attached child theme of Dazzling theme that contains the following custom code in the functions.php file of it.

 * Featured image slider
function dazzling_featured_slider() {
    if ( is_front_page() && of_get_option('dazzling_slider_checkbox') == 1 ) {
      echo '<div class="flexslider">';
        echo '<ul class="slides">';
           echo '<li>';
           	echo '<img src="" />';
           echo '</li>';
        echo '</ul>';
      echo ' </div>';

Change the image file URL in the above code of the child theme to the image URL that you wan to display there.

Best Regards,