Viewers: in countries Watching now:
Now that we've defined new featured image sizes WordPress will create new images with those sizes any time we upload a new image. However, this is not retroactive so all the old images we have in the site don't have these new sizes. That means, if we start calling these custom sizes when we use featured images, the old posts that have featured images will display images of a different size and it'll look really strange. So before we can start using the new featured image sizes.
We need to get WordPress to go back in time and regenerate new featured images for all the old posts. This can be done with the Regenerate Thumbnails plugin and it comes as part of the developer plugin. So, I go back to my Dashboard here, and if I go to Plugins. You can see whether or not you have Regenerate Thumbnails already activated. So if you followed along from the beginning of the course, and you activated the plugins I told you to activate from the developer plugin, then you should have Regenerate Thumbnails activated. If not, just go to Tools > Developer, and activate Regenerate Thumbnails.
Once you have this plugin activated, you can go to Tools and at the bottom you have a function called regenerate thumbnails. And when you select that function you can click on the Regenerate All Thumbnails button, and this will cycle through every single image on your site and create new thumbnail sizes for you. And those thumbnail sizes will include the new custom thumbnails that we created in functions.php. Once the process is completed, we have the cropped featured image sizes we need. So now, we can start adding featured images into our post templates.
There are currently no FAQs about WordPress: Building Themes from Scratch Using Underscores.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.