This post examines all the ways multiple DOM elements can be manipulated. That can be done with a `while` loop or with recursion when using a live HTMLCollection.
A comprehensive look into the WordPress loop.
Sass looping syntax guide.
Let users decide which meta key is used to sort each post. I'll be using WPAlchemy metabox class to create and save the custom fields.
...the trouble could be that you have not reseted the loop on the page.
How to get posts only from a specific custom post type, or how to show posts only from a custom taxonomy. How to keep the original query around, how to deal with posts that have post formats enabled and how to enable pagination on a custom loop.
Club-Mate, the beverage → club-mate.fi