Title: The code for carousel/ slider
Last modified: August 21, 2016

---

# The code for carousel/ slider

 *  Resolved [kaski2](https://wordpress.org/support/users/kaski2/)
 * (@kaski2)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/)
 * Hi.
 * I am new on using wordpress/ designing a webpage.
 * I couldn’t figure out how to change the pictures in the carousel/ slider, so 
   I installed a plugin (wowslider).
    Now I would like to change it back again, 
   but I have messed up the “code” in header-content.php. I saved it in word on 
   my computer, but I guess the space is something different. Can anyone send me
   the whole “code” for header-content.php?
 * And, when I get this done, how do I change the pictures in the slider?

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

 *  [Niessah30](https://wordpress.org/support/users/niessah30/)
 * (@niessah30)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909246)
 * do you still need help ?
 *  [David](https://wordpress.org/support/users/ebunda/)
 * (@ebunda)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909251)
 * I would love to know how to change the pictures in the slider if anyone knows
 *  [ryan1107](https://wordpress.org/support/users/ryan1107/)
 * (@ryan1107)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909252)
 * find this in header.php “<!–BEGIN #widget-carousel–>”
 * change the second line and h4 tags, to the image url and what you want it to 
   say:
 * <img src='<?php echo get_template_directory_uri(); ?>/library/media/images/slider/
   slider_img_01.jpg’ alt=” />
    <div class=’carousel-caption’> <h4>Built-in Bootstrap
   Elements let you do amazing things with your website</h4> </div> </div>
 * i think thats how i did it
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909253)
 * **[@ryan1107](https://wordpress.org/support/users/ryan1107/)** – please do not
   advise people to modify theme files – that’s never good advice – as those changes
   will be lost when the theme is updated.
 * Changes should be made in a child theme – [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 *  [Niessah30](https://wordpress.org/support/users/niessah30/)
 * (@niessah30)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909254)
 * **[@wpyogi](https://wordpress.org/support/users/wpyogi/)**– i have tried to create
   child-themes based on the link given by you..but when I tried to activate the
   child theme, this is what shown
 * _Broken Themes
    The following themes are installed but incomplete. Themes must
   have a stylesheet and a template.
 * Name : Evolve
    Description : The parent theme is missing. Please install the “
   Evolve” parent theme
 * And when i remove the child theme, the whole broken theme description is gone.
   did i do anything wrong..why i cant activate the child theme..please help
 * this is what i created in style.css..please help
    /* Theme Name: Evolve Theme
   URI: [http://theme4press.com/evolve-child/](http://theme4press.com/evolve-child/)
   Description: Evolve Child Theme Author: [http://theme4press.com](http://theme4press.com)
   Author URI: [http://theme4press.com](http://theme4press.com) Template: Evolve
   Version: 2.5.0 */
 * /* Imports styles from the parent theme
    ————————————————————– */ [@import](https://wordpress.org/support/users/import/)
   url(‘../evolve/style.css’);
 * /* =Theme customization starts here
    ————————————————————– */
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909255)
 * Change the theme name and the Template lines:
 *     ```
       Theme Name: Evolve Child
       Theme URI: http://theme4press.com/evolve-child/
       Description: Evolve Child Theme
       Author: http://theme4press.com
       Author URI: http://theme4press.com
       Template: evolve
       ```
   
 *  [Niessah30](https://wordpress.org/support/users/niessah30/)
 * (@niessah30)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909256)
 * **[@wpyogi](https://wordpress.org/support/users/wpyogi/)**– thank you so much.
   it really work..but why is that my homepage layout is being affected.. my slide
   show is gone completely.. my header is gone..my side bar also being affected..
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909257)
 * Cool – glad to hear that! You do need to redo theme settings and options in the
   child theme – it’s like switching to any other new theme. It takes a bit of time
   but you’ll be so much better off getting this set up right now and not making
   problems for later :).
 *  [Niessah30](https://wordpress.org/support/users/niessah30/)
 * (@niessah30)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909258)
 * Yeah you are right..I am very glad that you guided me on this..thank you so much..
   actually i wanted to help ebunda and ryan1107 an easy way to change the slide
   images without modifying header.php and i cought up in child theme configuration
   which really benefit me 😉
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909259)
 * You’re quite welcome – child themes are super useful so now you’re all set. And
   thanks for helping out too :)!
 *  [Niessah30](https://wordpress.org/support/users/niessah30/)
 * (@niessah30)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909260)
 * **@WPyogi- ** sorry to bother you again..just a question about the child theme.
 * I have images posted in my parent theme, if i want to move it to my child theme
   do i need to add some code in my style.css of child theme or just move the image
   folder will do..
 * here is what i want to do ;
    i want to change the slide images which located 
   in slider folder of parent theme i.e. wp-content\themes\evolve\library\media\
   images\slider
 * now i would like to like to move my slide image to child theme..is this how i
   suppose to create..?
    wp-content\themes\evolve-child\images\slider
 * and do i need to add the following code in style.css of child theme ?
    [@import](https://wordpress.org/support/users/import/)
   url(‘../evolve/library/media/images/slider’);
 * sorry to trouble you again
 *  [mcaocala](https://wordpress.org/support/users/mcaocala/)
 * (@mcaocala)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909264)
 * Hello,
 * I am new at the website game and could use some advice.
    I need to change a few
   things on the site that someone else built. How do I change the carousel in the
   header? I want to change the pictures for fresher ones. I have one column that
   is much longer than the other two. How can I make it shorter and carry the information
   to another page of the site the same as the other two columns? Any help is very
   much appreciated.
 * [http://www.mcaocala.com](http://www.mcaocala.com)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909265)
 * **[@mcaocala](https://wordpress.org/support/users/mcaocala/)** – could you start
   a new thread, please? You’re not using this theme (Evolve) and this thread is
   already marked resolved.
 * [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * You can start a new thread here:
 * [http://wordpress.org/support/forum/themes-and-templates#postform](http://wordpress.org/support/forum/themes-and-templates#postform)
 *  [mcaocala](https://wordpress.org/support/users/mcaocala/)
 * (@mcaocala)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909266)
 * Will do thank you

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

The topic ‘The code for carousel/ slider’ is closed to new replies.

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

 * 14 replies
 * 6 participants
 * Last reply from: [mcaocala](https://wordpress.org/support/users/mcaocala/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/the-code-for-carousel-slider/#post-3909266)
 * Status: resolved