Change:
the_post_thumbnail()
To:
the_post_thumbnail( array(50, 50) );
It’s all documented on the codex / developer site at https://developer.wordpress.org/reference/functions/the_post_thumbnail/
Related Posts:
- How exactly do automatic updates work?
- How to create custom 401, 403 and 500 error pages?
- Why have on every line
- add_action in namespace not working
- Is it possible to disable a function of a parent theme?
- Variables declared in header not available in other includes
- WordPress Ajax always returns a 404 error
- Displaying a variable stored in functions.php inside widget
- Custom Meta Field – Youtube embed
- Failed to open stream / no such file or directory
- Need to get specific data from array
- Use different javascript files for each page on website
- How to get all existing post types
- WooCommerce – Fixed quantity of a product [closed]
- How to create post thumbnail
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Function set default image when image not present
- How to get the POST TITLE using the POST ID?
- Importing hard coded custom field into acf field
- Adding country tags automatically
- Add child pages of parent to navbar PHP
- From where the header-text can be changed in WordPress custom header?
- Trying to establish connection to External Database
- Part of title duplicating but not sure how to remove from code – help?
- How to: PHP Log Out Link?
- How can I Add a variable PHP in the Menu Nav
- PHP Fatal error: Uncaught mysqli_sql_exception: Table doesn’t exist in wordpress/wp-includes/wp-db.php
- Adding an Avatar to the Top Nav Bar
- Avoid parallax images hardcoding
- The response is not a valid JSON response, wordpress problems?
- Firing schema via code in functions.php doesn’t work
- Blog posts repeat
- Dot is not added at the end of href
- Update user profile information from functions.php
- Getting error when using wp_insert_post()
- How can I modify footer when footer.php calls to another file?
- If tag equals then show else show
- retrieve post data and insert it in seperate static html page without WordPress
- PHP conditional script issue
- WordPress plugin: render only page content using ajax call
- How to fix this warning:call_user_func_array() expects exactly 2 parameters, 1 given in D:\wamp\www\…….\wp-includes\class-wp-hook.php on line 286
- My php code is not being executed
- Using Shortcode to Grab Archive Listing, Separate by Year
- Function won’t run onclick using Ajax
- working with term_relationships table
- Creating a blog on my companies new website using WordPress but I have sidebar issues
- Find Site ID From WP_Post
- How to show meta value code HTML after x paragraph
- Check class_exists before class definition / Doxygen problem
- url_to_postid returns 0
- WordPress And High disk i/o
- How to Fix an Archive.php That Displays All Posts?
- Dynamically replicate custom metabox in custom post type
- random reason on refresh
- How to tell if a user has gone in and created a menu
- Change Query Arguments (filter) with jQuery/Ajax or PHP?
- WordPress Fresh Install Errors (Woocommerce specifically now)
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- php script in elementor
- how do i add custom widget woocommerce shop page with php
- WordPress redirect to a subpage – how to create a template for subpage?
- How can I redefine WordPress wp-content directory programmatically?
- Trim Titles Only On Some Pages
- Commenting requires wordpress login, wordpress discussion and post comments tick boxes are checked
- code that I can run, or a plug in to show what sql tables something pulls information from
- Automatic email message after manual user approval
- can I extend the WP_Query class to deal with ‘duplicate’ posts created by joining to wp_posts?
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- Enqueue sripts and styles only if function is called
- Return author name as a tag using get_author
- How to pull date/time in french format for wordpress post?
- WooCommerce subcategories help
- What is wrong with this shortcode? to include external php file in WordPress posts
- Echo Option Value Based On WordPress User Role
- ACF + WP + Slick Slider Repeater Slide Group PHP not Displaying [closed]
- wp_query beginner
- Crop an image after upload on custom account page
- Migrating a live WordPress website to a Local Server: why some elements of the website are missing?
- Store stripe info as user_meta
- Is there a way to have chunks of a page’s content expire?
- INCOMING: Wall of code for form and $_POST, not updating custom field’s value
- WooCommerce – Print Processing orders [closed]
- Loop returns more items than exist?
- Formatting Shortcode to Display in Visual Mode
- wp_nav_menu doesn’t work in a duplicate server
- Rewriting to a different page based on existence of query string?
- How to get category pages to look like a certain archive page?
- Host does not allow remote connection, so how do I transfer data to my WordPress site?
- I am extending Walker_Nav_Menu: How can I get the number of children elements of the current item?
- How to call a specific value within the functions.php file?
- How to define template directory in this widget code
- WordPress plugin/code to to to next/previous post in same category
- WordPress White Screen Error
- Warning: filemtime(): stat failed for wp_
- How to transfer session after being redirected to other page
- Keep users logged in Without Remember Me
- How to use js variable to php in wordpress functions.php
- Display total count of products in orders of a specific order status
- Custom Filtering date with newsletter
- WordPress critical error after trying to update to 6.2 – Fatal error: Allowed memory size of 268435456 bytes exhausted