Skip to content

Instantly share code, notes, and snippets.

@p2or p2or/functions.php
Created Jul 17, 2014

Embed
What would you like to do?
wordpress - add class to the_post_thumbnail
<?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
You can’t perform that action at this time.