wordpress snippets last updated   : October 6, 2014
we now have 641 snippets
category post_class

Limit number of classes when using post_class

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you limit the number of classes displayed when using post_class, Yes this only works if you are using post_class() within your theme enjoy.

read more