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.
Google announced in April 2019 that Chrome will start supporting native lazy-loading of images. Lazy-loading offers speed boosts to image-heavy sites. Are you still using traditional lazy-loading options on your site? Here’s why you should go native.
Since PowerShell is now open source and cross-platform, we can now perform PowerShell magic right inside Linux boxes. If this isn’t exciting, what is?! Here’s an example of how to execute PowerShell scripts (or commands) from PHP code on a Linux VM.
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.