Hi everyone,
I'm working on a wordpress theme that requires an image slider at the top. As that involves JavaScript I've decided to use DIVS instead.
I will have the latest post show, and 2 other posts in hidden divs. These divs will show when a user clicks on the arrow etc.
I've done something like this before but without wordpress.
Now I'm stuck, as I need 2 divs to be hidden so can't just pull the latest 3 posts out of the query.
So, is there a way to pull out the second-to-last latest post? And the third?
Sorry if that doesn't make any sense.
The latest post I want to go into the main div. The second-to-last latest post I want to go in the first hidden div. And the third-to-last latest post I want to go in the second hidden div.
If that makes any sense, please help.
Thanks in advance.