Title: Replace slider with static image.
Last modified: August 22, 2016

---

# Replace slider with static image.

 *  Resolved [rmurdo](https://wordpress.org/support/users/rmurdo/)
 * (@rmurdo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/)
 * Hi all,
 * I’d like to replace the slider with a static image. I thought it was in the index.
   php for the theme were it says:
 * get_header(); ?>
    <div class=”top-section”>
 *  <?php dazzling_featured_slider(); ?>
    (comment out the above line and add my
   image here) <?php dazzling_call_for_action(); ?> </div>
 * However, no change when I empty cache and refresh. Any ideas? Going NUTS here..
   haha
 * Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349599)
 * Can you provide a link to your site so we can see if the image is there?
 *  Thread Starter [rmurdo](https://wordpress.org/support/users/rmurdo/)
 * (@rmurdo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349602)
 * Its on a local server. Its showing the test post with a featured image.
 *  Theme Author [Silkalns](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349754)
 * Your described steps are correct and your image should appear on front page if
   you used the right code to add image.
 * Also this can be done via Child Theme.
 * Sometimes when editing WordPress php files changes are not displayed instantly
   and you might clear WordPress cache. It can be done by opening any post and simply
   pushing update just to make sure that PHP does its thing.
 *  Thread Starter [rmurdo](https://wordpress.org/support/users/rmurdo/)
 * (@rmurdo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349819)
 * Found the issue. I was trying to use index.php. It was actually front-page.php
   that I needed to edit.
 * Rob
 *  [ckme](https://wordpress.org/support/users/ckme/)
 * (@ckme)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349843)
 * Silkains, thank you for including the above statement:
 * “Sometimes when editing WordPress php files changes are not displayed instantly
   and you might clear WordPress cache. It can be done by opening any post and simply
   pushing update just to make sure that PHP does its thing.”
 * I was just refreshing the page with no results – super frustrating! I never considered
   I would have to update the page for the php to take proper effect.
 * THANKS!!!!!!!!!!!!!!!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Replace slider with static image.’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/dazzling/2.1.3/screenshot.png)
 * Dazzling
 * [Support Threads](https://wordpress.org/support/theme/dazzling/)
 * [Active Topics](https://wordpress.org/support/theme/dazzling/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/dazzling/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/dazzling/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [ckme](https://wordpress.org/support/users/ckme/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/replace-slider-with-static-image/#post-5349843)
 * Status: resolved