A developer’s workaround for passing variables through get_template_part function in WordPress to completely avoid global statements.
Useful WordPress resources, tutorials and snippets.
We love to give back to the community and share our experience!
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.
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.