wordpress query_posts with foundation 6 Accordion not working correctly
It looks like your code is adding a new <ul> for every post. What you really want is a single <ul> wrapped around all of the posts. Query_posts is also frowned on because it alters the main query. You could use get_posts instead, and add a variable $i to determine whether you’re on the first … Read more