1. Home
  2. Wordpress
  3. Post thumbnail

Helper function for displaying the post thumbnail. Default Wordpress image sizes - thumbnail|medium|medium_large|large|full. Default WooCommerce image types - shop_thumbnail|shop_catalog|shop_single.

#wordpress#php
the_post_thumbnail( 'thumbnail' ); // thumbnail|medium|medium_large|large|full
the_post_thumbnail( 'shop_thumbnail' ); // shop_thumbnail|shop_catalog|shop_single
copy
Full Wordpress cheatsheet
NordVPN NordVPN