N
N
Nikita2016-03-02 05:37:45
WordPress
Nikita, 2016-03-02 05:37:45

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>

And the third is a regular slider.
+ worth fancybox on popups for them. You can see it in the slider I added the code for.
Tell me the solution how can I get it all into the admin panel, so that it would be possible to add new slides for the second one inside the gallery slides.
At least give me an idea how to do it, I've already rummaged through everything

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr Crabbz, 2016-03-02
@Punkie

www.advancedcustomfields.com - just read the manual and examples for all types of fields.

A
Anton Minaev, 2016-03-02
@AntonMinaev

You can make custom post types by wrapping the output with the desired sliders

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question