If you use the a3 Lazy Load WordPress plugin with a Genesis theme, you may notice an issue with lazy loading of Genesis archive images. Single post images are lazy loaded correctly. Images on archive pages are not. Here’s the code to fix this issue.
I code in several different programming languages and I post content relevant to the different languages on this website. Software development tools and languages evolve very dynamically. What's hot today may be forgotten tomorrow. So, categorizing my content based on language is not very practical. Instead, I use client-server labeling to categorize my work with various programming languages. This section holds content that I consider to be back-end (or server-side) programming.
If you use the a3 Lazy Load plugin on a WooCommerce shop, you may notice that while images on single product pages are nicely lazy loaded, the lazy-loading feature just doesn’t work on archive pages. This article contains code to fix the problem.
Code snippet for modifying bbPress forum participants capabilities. With this snippet active, your forum participants will be able to trash (but not delete) their own topics and replies.
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
Most webmasters know that caching is important for page speed. But not a lot is said about cache warming which is just as important. Here’s how to warm up your site cache by crawling your sitemap using cURL. The code can be run from a Linux Cron job.
By default, WooCommerce will only show star ratings for products with ratings greater than zero. That means star ratings are not displayed until a product has at least one review. If you’d rather always have them displayed, use the code in this post.