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.
Programming
Fixing a3 Lazy Load For WooCommerce Archive Images
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.
Modify bbPress Roles To Allow Participants Trash Their Own Topics And Replies
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.
PHP Sitemap Crawler For Full Page Cache Warming
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.
Always Display Star Ratings In WooCommerce (Even With No Reviews)
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.
Show Short Descriptions On WooCommerce Archives
WooCommerce archives (shop, categories, and tag pages) don’t display short descriptions by default. If you want this feature, customize your theme by adding this line of code.