- This topic has 3 replies, 2 voices, and was last updated 7 years, 9 months ago by Mahesh.
-
AuthorPosts
-
July 27, 2016 at 3:26 pm #96110maevaParticipant
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
July 27, 2016 at 5:13 pm #96117MaheshKeymaster@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,
MaheshJuly 27, 2016 at 5:56 pm #96119maevaParticipantI 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”>
</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″>
</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_sliderCan i add a new code to add a new slider ?
Thanks for your answer
July 28, 2016 at 9:27 am #96153MaheshKeymaster@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’sfunctions.php
.
http://bit.ly/2a18vbO
Note: Please replace the url for third image with your desired.Regards,
Mahesh -
AuthorPosts
- The topic ‘Number of Slider’ is closed to new replies.