Skip to content

Instantly share code, notes, and snippets.

@cagriuckan
Created March 31, 2017 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cagriuckan/74a844b8f7d5a929a6a03a22a68b057f to your computer and use it in GitHub Desktop.
Save cagriuckan/74a844b8f7d5a929a6a03a22a68b057f to your computer and use it in GitHub Desktop.
Wordpress Post Thumbnails
<?php
<!-- Begin -->
add_theme_support('post-thumbnails');
if ( function_exists( 'add_image_size' ) ){
add_image_size( 'uckan-small' ,190, 120, true );
}
<!-- End -->
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment