I am building a wordpress theme using a Jquery slider, but slightly stuck with some custom php.
Each slider image has a custom id e.g. featured-slider-one, featured-slider-two etc
How can I do this in wordpress? Can I use the php count function or would that not work?
Thanks in advance
Add $count = 0; before the loop.
Add $count++ at top inside the loop.
And then echo it in the id part.
Did it numerous times