Answer the question
In order to leave comments, you need to log in
How to make an affiliate carousel in WP?
Greetings!
The task, I think, is trivial - to display a partner logo slider on the site.
I want partners to be added in the admin panel, and for the public to make my own slider component.
Which way to head?
I understand that there are a lot of plugins for this, but I didn’t see one from which I can simply get an array of data in public and work with it, everyone just gives a shortcode that displays my finished layout and scripts.
Answer the question
In order to leave comments, you need to log in
Custom fields (ACF Pro plugin). Contains a field type such as a repeater (repeater + nest the image field type) or a gallery (gallery).
Create one of the above fields and you can add images from the admin.
To display in the admin menu, look towards acf_options()
And to display on the site, take the carousel script owl carousel, slick slider, flexslider, etc.
Well, get the data using the_field() or get_field() and display in the template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question