Add odd even class to posts