Answer the question
In order to leave comments, you need to log in
Slider on WordPress?
Hello!
How to make such a thing?
Make a carousel slider on your WordPress site. There will be 5 pictures in plain sight, the rest are hidden. In total there will be 100, or maybe 200. Each picture will have a caption (well, in the sense of a title or description), and each such block will have a link. Those. the wrapper will be a link, and inside it will be a picture and a description. Well, or if this is not possible, then you can make a picture with a link and a separate text with the same link. Because there are a lot of pictures, then rewinding is provided using the slider. So that you can quickly wind up to the desired picture.
How to do this, I have no idea yet. I saw there are libraries, you have to look.
But. The main question is what needs to be done so that the user himself can add these pictures later. Those. it is necessary to somehow make such an interface in the WordPress admin panel, where there will be an "add" button, when clicked, a dialog will appear in which the user will insert a picture, write text and write a link that will be attached to the picture and text.
What are the options? You can make a component on vue. Or you can use jQuery. This is understandable in principle. It’s more incomprehensible to me here how to shove it into WordPress later, file the plugin? Or maybe there is already something similar?
Answer the question
In order to leave comments, you need to log in
You can look for plugins for sliders.
You can somehow beat the gallery, then you can easily display the photo (get_post_gallery( $post_id, false ))
Such a slider is a must with lazyload. As for me - slick is excellent.
A little more difficult with a signature and a link, you need to think about something.
Greetings!
It's actually quite easy to create something like this....
1) you can look for ready-made carousel plugins
2) you can just use libs. For example, slick slider, owl carousel and others.
I would choose the second option. When choosing either, pay attention to the next point - you need a lazy load.
Next, install the ACF plugin. I recommend ACF Pro so that you have fields like ACF Repeater || ACF Gallery. This is necessary so that you can add slides and captions to them from the admin panel. Choose a slider that can be easily customized so that you can, for example, wrap each slide in an anchor, etc.
I can recommend either - it costs $14, but integrates pretty well with VP via ACF.
Demo - demo
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question