Try This
the_post_thumbnail(); // Without parameter ->; Thumbnail
the_post_thumbnail( 'thumbnail' ); // Thumbnail (default 150px x 150px max)
the_post_thumbnail( 'medium' ); // Medium resolution (default 300px x 300px max)
the_post_thumbnail( 'medium_large' ); // Medium-large resolution (default 768px x no height limit max)
the_post_thumbnail( 'large' ); // Large resolution (default 1024px x 1024px max)
the_post_thumbnail( 'full' ); // Original image resolution (unmodified)
the_post_thumbnail( array( 100, 100 ) ); // Other resolutions (height, width)
Related Posts:
- How do I add CSS options to my plugin without using inline styles?
- Is it ever okay to include inline CSS in plugins?
- How to add sub-menu to a menu generated by wp_nav_menu by using plugin
- Check for featured image in WP_Query
- How to prevent loading of all plugin’s resources?
- What is the best way to provide plugin users with a way to customized the styles
- Set first image (external) as featured image / thumbnail
- What is better way to use Bootstrap inside admin panel?
- wp_enqueue_style built in styles
- Backslashes being stripped from CSS
- Dequeue theme stylesheets but keep widget styling on custom page template
- Save image as featured image
- How to check if a stylesheet is already loaded?
- how to include javascript file and css file in wordpress
- How can I add a CSS rule to edit.php?
- Remove Internal Style Sheet if no Value Provided?
- How do I include background images in my stylesheets in a plugin?
- What parameter should I pass to wp_enqueue_style to depend on the themes stylesheet?
- Is there no admin ui guide for 4.x?
- Correct check for any admin page with editor
- Add Minimum Dimensions Text to Featured Image
- How to remove default style of header in wordpress metabox
- CSS not affecting widget output
- How can I avoid conflicts between plugin and theme?
- Redirect to another page using contact form 7? [closed]
- Plugin Development/ Stop CSS clashes.
- Can’t change the style of a submit input type? [closed]
- Make a plugin page out of influence of the theme’s style
- Distributing Frontend Assets with Plugins
- My stylesheets are not enqueuing
- Custom Plugin – CSS works, JS doesn’t
- Are there any official or unofficial guidelines for the styling of a widget?
- Proper way to include stylesheet for panels
- Apply styles to blockquote element with the WYSIWYG editor
- Styles don’t load correctly. Insecure content
- Completely isolate a plugin view so it doesn’t load the theme
- Get thumbnails with array sizes parameter
- WP Still Generating 150×150 Thumbnail Size Even After Un-Setting Small Size in Functions.php
- Does WordPress default CSS have Grids?
- How to insert HTML/CSS/JS into my iframe plugin?
- How To Protect Plugin Display From Being Affected By Theme’s CSS
- Load stylesheet in edit category page?
- CSS not being applied using wp_enqueue_style
- WordPress Plugin Authoring question about jquery and css
- How to add some basic inline CSS using existing plugin or theme?
- Why my theme’s css not working on another site
- WordPress plugin development theme issue
- Why does theme’s reset CSS have higher precedence of plugin’s CSS?
- Twenty-seventy theme remove additional CSS from head
- Publish, Save Draft and Preview buttons do not work after being moved with jQuery
- Unable to link CSS file
- How can I add the Post ID to Class Name in Jquery?
- Let user override plugin CSS
- problem with blank page
- Thumbnails for media Library images
- Best practice to include custom user styles in widgets
- How to create A – Z List with pictures?
- how to add contact form 7 shortcode in javascript variable
- Problem with inline style CSS properties issue on DIV
- How to give a NavWalker its own stylesheet?
- Template directory in plugin
- WordPress Admin Login Custom Logo
- Declare plugin dependency [duplicate]
- How do I remove inline style in featured image markup?
- jquery & ajax sending data to php
- wp_localize_script is not adding a global variable for javascript
- What is the best way to store a few fields?
- wp_get_theme Warning: Illegal offset type
- json_decode does not work on WordPress
- wordpress is adding a second backslash when I use addslashes
- Can’t find where to modify attrbitutes
- Silently register plugin pages
- Plugin uninstall function is not working
- How to build a fool proof AdSense revenue sharing model?
- Cannot get jQuery UI to enqueue in my plugin!
- Plugin: database creation
- How to pull user/author profile data in a plugin?
- Loading Modernizr (or other JavaScript libraries) for use in a plugin
- Adding columns to core tables
- Delist entries in the_loop
- Bug: Post needs to be updated twice when adding action for save_post hook
- Naming conventions when using (PHP5) namespaces?
- wordpress add_submenu_page adds broken link
- should i be checking for jquery before enqueing it in a plugin
- WordPress Specified file failed upload test
- Add Link Category on Activation?
- How to query children by post name/slug
- get_the_tags with separator control?
- Custom Post Type to override theme’s CSS & HTML from Plugins Dir?
- wp_schedule_event() set daily, but processed every second
- Adding admin menus to wordpress
- How to get a list of child ids for a named category?
- Plugin could not be activated because it triggered a fatal error, unexpected ‘[‘
- How to query custom db table?
- Can’t get AJAX call working in custom plugin
- Redeclaring a plugin function within a class
- How to add new options to my WordPress plugin
- Update custom plugin with WP-CLI
- How to only load css for used blocks on frontend
- Force download file from plugin (change output http headers)