When I use get_the_post_thumbnail( NULL, 'entry-fullwidth', NULL ); wordpress automatically outputs the srcset data like these: <img width="1000" height="625" src="https://x.cloudfront.net/wp-content/uploads/2017/08/photo.jpg" class="attachment-entry-fullwidth size-entry-fullwidth wp-post-image" alt="" srcset=" https://x.cloudfront.net/wp-content/uploads/2017/08/photo.jpg 1000w, https://x.cloudfront.net/wp-content/uploads/2017/08/photo-768x480.jpg 768w"...
  • May 21, 2022
  • 0 Comments
In our “mobile first” age a theme without responsive UI is treated like from stone age. It means that a theme could have different content width for different devices....
  • May 20, 2022
  • 0 Comments
I’m trying to get up to speed with responsive theme development in WordPress and have been looking at Bootstrap and combining it with HTML5 boilerplate. I came across this...
  • May 18, 2022
  • 0 Comments