Answer the question
In order to leave comments, you need to log in
How to make a slider on WP?
Good afternoon!
There was a problem, I can not find a solution in order to pull the sliders into the WP admin panel.
I have three sliders on the page, one of them is an image on the left, a text with a title on the right, the
second is a kind of timeline:
<div id="owl--timeline" class="owl-carousel">
<div>
<div class="item">
<div id="previws-1" class="preview">
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Сентябрь 30, 2015 г."><div class="loupe"></div></a>
<img src="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" alt="">
</div>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Сентябрь 30, 2015 г."></a>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Сентябрь 30, 2015 г."></a>
<div id="counter-1" class="counter"><i></i><span>1</span></div>
<div id="data-1" class="data">Сентябрь 30, 2015 г.</div>
</div>
</div>
<div>
<div class="item">
<div id="previws-2" class="preview">
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"><div class="loupe"></div></a>
<img src="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" alt="">
</div>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<div id="counter-2" class="counter"><i></i><span>1</span></div>
<div id="data-2" class="data">Сентябрь 30, 2015 г.</div>
</div>
</div>
<div>
<div class="item">
<div id="previws-3" class="preview">
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"><div class="loupe"></div></a>
<img src="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" alt="">
</div>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<div id="counter-3" class="counter"><i></i><span>1</span></div>
<div id="data-3" class="data">Сентябрь 30, 2015 г.</div>
</div>
</div>
<div>
<div class="item">
<div id="previws-4" class="preview">
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"><div class="loupe"></div></a>
<img src="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" alt="">
</div>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<a class="fancybox" href="<?php echo get_bloginfo('template_url').'/'; ?>img/timeline/1.jpg" title="Hello"></a>
<div id="counter-4" class="counter"><i></i><span>1</span></div>
<div id="data-4" class="data">Сентябрь 30, 2015 г.</div>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
www.advancedcustomfields.com - just read the manual and examples for all types of fields.
You can make custom post types by wrapping the output with the desired sliders
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question