Wordpress

PHP
Wordpress

How to add .webp image support into WordPress.

I recently needed to add .webp support to one of my websites so I used the following code: How to Use: This enables basic WebP support for uploads and display. For automatic conversion from other formats to WebP (for better performance), consider a plugin like “WebP Express” or extend this code with image processing libraries […]

Loading

Read More
Wordpress

How to add a Google Form into a WordPress page.

To embed a Google Form into a WordPress page using HTML, follow these steps: 1. Get the Embed Code from Google Forms: 2. Edit Your WordPress Page: 3. Add the Embed Code: 4. Save and Publish: Example Embed Code. Here’s an example of what the embed code looks like: Customization. Additional Notes:. This method ensures […]

Loading

Read More
WooCommerce

WooCommerce – Display “Out of Stock” on Loop Pages

This fixes a problem for those who want to display a label when an item is out of stock. You can save this in your functions.php to make it work. You will also need to add this to your style sheet.

Loading

Read More
WooCommerce

WooCommerce – Sort Catalog by Stock Status

A quick code snippet to allow you to sort your catalogue products by Instock/Out of stock.

Loading

Read More
Wordpress

Publishing WordPress site from development to production.

You have finished that WordPress site, and want to deploy it – move it from your test server to the production server where it goes live. But how? WordPress have a famous 5-minute-install, but there is no 5-minute-go-live-script*. I’ll show you how in these 5 easy-to-follow steps. Going live really isn’t that difficult, as long […]

Loading

Read More