Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #96110
    maeva
    Participant

    hello,

    In my catchresponsive theme, i have 2 featured slider only.

    I want to add 1 other.

    how can i proceed to do this ?

    Thank you for your help

    best regards

    #96117
    Mahesh
    Participant

    @maeva: Go to Dashboard=> Appearance=> Customize=> Featured Slider and select Featured Page Slider in Select Slider Type then select desired number of slider you want to display. You have to select pages to display as slider and the slider use the page’s featured image as slides.
    If you want Custom Image in Slider, I recommend you upgrade to Catch Base Pro.

    Regards,
    Mahesh

    #96119
    maeva
    Participant

    I can’t do that because i haven’t “featured slider” in “customize”.

    Look my code in “catchresponsive-featured-slider.php” :

    function catchresponsive_demo_slider( $options ) {
    $catchresponsive_demo_slider =’
    <article class=”post hentry slides demo-image displayblock”>
    <figure class=”slider-image”>

    Baptême Parc des Expositions

    </figure>
    <div class=”entry-container”>
    <header class=”entry-header”>
    <h1 class=”entry-title”>
    <span></span>
    </h1>
    </header>
    <div class=”entry-content”>
    <p></p>
    </div>
    </div>
    </article><!– .slides –>

    <article class=”post hentry slides demo-image displaynone”>
    <figure class=”Slider Image 2″>

    Slider Image 2

    </figure>
    <div class=”entry-container”>
    <header class=”entry-header”>
    <h1 class=”entry-title”>
    <span></span>
    </h1>
    </header>
    <div class=”entry-content”>
    <p></p>
    </div>
    </div>
    </article><!– .slides –> ‘;
    return $catchresponsive_demo_slider;
    }
    endif; // catchresponsive_demo_slider

    Can i add a new code to add a new slider ?

    Thanks for your answer

    #96153
    Mahesh
    Participant

    @maeva: If you are customizing the theme, it is highly recommended to use a child theme. Because when updating, you’ll lose all the customization. You can find more on creating child theme HERE.
    For adding one more slide to your slider, add the following code in the link below in your child theme’s functions.php.
    http://bit.ly/2a18vbO
    Note: Please replace the url for third image with your desired.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Number of Slider’ is closed to new replies.