Tag Info

Hot answers tagged

1

Hey First add this line into your function.php file add_image_size( 'custom-size', 120, 140 ); Then call custom-size like this <?php $thumb_id = get_post_thumbnail_id( $id ); if ( '' != $thumb_id ) { $thumb_url = wp_get_attachment_image_src( $thumb_id, 'custom-size', true ); $image = ...



Only top voted, non community-wiki answers of a minimum length are eligible