Home › Forums › Front-end Issues › Add class to first row of repeater › Reply To: Add class to first row of repeater
I’m a friend of semantic HTML and progressive enhancement, and that means that something should work at least in a basic way without JavaScript in the first place, and then it should be enhanced with JS. That means, by default, the testimonials could be displayed below one another, and the whole “slider” and “active class” and “pagination” thing would be created with JS, so ACF has nothing to do with any of that.
These empty spans and list with “dots” have nothing to do in there, this should be generated by JS. Since WordPress works with jQuery by default you could use a jQuery slider plugin such as Cycle; this will generate all the functionality you need.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.