Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wp large medium large


//Default WordPress
the_post_thumbnail( 'thumbnail' );     // Thumbnail (150 x 150 hard cropped)
the_post_thumbnail( 'medium' );        // Medium resolution (300 x 300 max height 300px)
the_post_thumbnail( 'medium_large' );  // Medium Large (added in WP 4.4) resolution (768 x 0 infinite height)
the_post_thumbnail( 'large' );         // Large resolution (1024 x 1024 max height 1024px)
the_post_thumbnail( 'full' );          // Full resolution (original size uploaded)
 
//With WooCommerce
the_post_thumbnail( 'shop_thumbnail' ); // Shop thumbnail (180 x 180 hard cropped)
the_post_thumbnail( 'shop_catalog' );   // Shop catalog (300 x 300 hard cropped)
the_post_thumbnail( 'shop_single' );    // Shop single (600 x 600 hard cropped)
Comment

PREVIOUS NEXT
Code Example
Php :: php convert float 
Php :: get url parameter laravel 5.2 constructor 
Php :: check if any values are the same in an array php 
Php :: laravel view routes 
Php :: php after leave page 
Php :: laravel auth sha-1 
Php :: php create word pairs from sentence 
Php :: install spatie for role and permissions 
Php :: Schema::defaultStringLength(199); 
Php :: enable trash for media wordpress 
Php :: intellisense in visual studio code for php-oop 
Php :: order by pre get posts 
Php :: get 2 hrs before data in php 
Php :: tidak bisa install php7.3 di ubuntu 20.04 
Php :: assocititive multi array compare php 
Php :: php sec to hours/minuts 
Php :: php user ip from post request 
Php :: how to redirect in php use variable from another file 
Php :: laravel withwhere 
Php :: laravel get unique data by column and order by 
Php :: get chmod of directory php 
Php :: mssql php 
Php :: Dynamic Carousel in Laravel not working displays only one image 
Php :: csv file import to mysqli using php 
Php :: how get some parameter from request in laravel 
Php :: PHP exif_read_data() 
Php :: google recaptcha varification in php codeigniter 
Php :: livewire model bind item in array 
Php :: php sqlite last insert id 
Php :: Laravel 9 Multiple File Upload Tutorial 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =