Featured Image SrcSet Mods on Single Post and Blog Hero Pattern
-
The img tag for the featured image on the single post template contains a srcset attribute with various URL and width values. I have two questions.
- How do I add additional URL and width options (e.g. https://www.baristasandbartenders.com/wp-content/uploads/2024/11/winter-composition-gifts-cup-with-marshmallow-600×400.webp 600w) to the srcset?
- How do I make sure the new image (e.g. https://www.baristasandbartenders.com/wp-content/uploads/2024/11/winter-composition-gifts-cup-with-marshmallow-600×400.webp) is generated when I upload my original full size image?
I’m also hoping to add additional options for the Blog Hero pattern at the top of my home page (https://www.baristasandbartenders.com/).
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.