Adds a class to every nth post -- Wordpress