wordpress snippets last updated   : January 9, 2015
we now have 643 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