In case you have a website where each post or a custom post type, requires a featured image, there is a chance, the client might ignore that when publishing. In this tutorial, we’ll learn how to disable the publish/update button if there is no featured image added.
I like WP_CLI and how it can improve your development and management of sites. I sometimes even use it to create a new WordPress site locally. But what if you work on your own custom WP_CLI commands and want them more interactive?
Responsive image attributes (sizes and srcset) in WordPress core were introduced in 4.4 version. You can read all about it here. In this article we will look into how we can improve those and also add other attributes.