Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49407
    Martijn
    Participant

    Hello everybody,
    Just started to work on wp and this great theme.
    But would like to change the position of the image slider on the homepage. I first would lile to have some text and then the slider. And then continue with a paragraph of text. In other words : text – image slider – text.
    Thanks !

    #49416
    Sakin
    Keymaster

    @Martijn: That option is not there in option panel. For this you need to do custom coding. This is beyond our free support. So, you need to hire customizer to work on it. I can tell you the process. First, you need to build child theme. You can reach about child then and also download sample child theme from http://catchthemes.com/blog/create-child-theme-wordpress/ and then in your child theme functions.php file. Then add in the text above and below using function and hook. For example to add text above and below slider, you can add the following code in your the child them functions.php file:

    /**
     * This function to display text above slider
     */
    function catchevolution_text_above_sliders() { ?>
    Add in the Text as per your need here
    <?php
    }
    add_action( 'catchevolution_content', 'catchevolution_text_above_slider', 5 );
    
    /**
     * This function to display text below slider
     */
    function catchevolution_text_below_sliders() { ?>
    Add in the Text as per your need here
    <?php
    }
    add_action( 'catchevolution_content', 'catchevolution_text_below_slider', 15 );
    #49440
    Martijn
    Participant

    Thanks for your fast reply, and explanation of the process. I already have a child theme… I try if it works with my little knowledge of .php otherwise I come back to you.
    Dhanwad !

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change position of the Image Slider’ is closed to new replies.