In version 4.4, WordPress added a cool feature to automatically handle responsive images. While it should be useful in most cases, here is a quick way to disable srcset feature if you are facing any issues after updating to WP 4.4.
Useful WordPress resources, tutorials and snippets.
We love to give back to the community and share our experience!
In this tutorial we are going to show you 3 ways to change your WordPress date and time format to “time ago” format like 1 hour ago, 3 weeks ago, 4 days ago, etc…
Useful PHP snippet which allows you to automatically change all your featured image alt tags to post title and improve SEO on your WordPress website.
WordPress offers very useful built in functionality where you can specify image size for galleries within dashboard. But, what if you want to automatically change image size for all galleries? Here is a neat solution with just couple of lines of PHP code.
Far all the developers, WordPress has created a nifty function called wp_parse_args which is quite useful when merging two sets of data arrays and is similar to native PHP function array_merge. The only lack of feature is that it is not recursive which makes it unable to handle and merge multidimensional arrays properly. Luckily, here is our solution.