Skip to content

Instantly share code, notes, and snippets.

@enqtran
Last active May 5, 2017 04:13
Show Gist options
  • Save enqtran/f1682b87b6099192779d0114a551712b to your computer and use it in GitHub Desktop.
Save enqtran/f1682b87b6099192779d0114a551712b to your computer and use it in GitHub Desktop.
/**
* Image size.
*/
function image_web_thumb()
{
// Image pickup slider
add_image_size('thumb-image-130-110',130,110, true);
// Image pickup slider
add_image_size('thumb-image-47-47',47,47, true);
// Image list shop
add_image_size('thumb-image-182-157',182,157, true);
// Image introduction
add_image_size('thumb-image-215-185',215,185, true);
}
add_action('after_setup_theme','image_web_thumb');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment