Created
July 17, 2014 10:18
-
-
Save p2or/8e44bdd0b493b3a95538 to your computer and use it in GitHub Desktop.
Add class to the_post_thumbnail #WP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php the_post_thumbnail('post-thumbnail', array( 'class' => "grid_4 img-max attachment-post-thumbnail")); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment