Hey, everybody! Recently, one of my clients encountered a bug in their booking form: the field for entering the date just looked grayed out, with no date format markup (DD-MM-YYYY). This caused many users to get confused and not fill out this field, which led to problems when making reservations. Before/After: To fix this issue […]
how to
How To Add a Badge To Selected Products – Woocommerce
Today let’s look at a simple snippet that hopefully will help someone:)Task: The client wanted to add badges to some products, depending on the season. First I created four new categories (winter, spring, summer, autumn) and then added the code to functions.php. And styling: /*seasonal badges*/.winter-badge, .spring-badge, .autumn-badge, .summer-badge {padding: 3px 4px;text-align: center;background: #FFFFFF;font-weight: bold;position: […]
How to disable font preload in Beaver Builder
I recently faced a small issue in Beaver Builder. Some fonts were loading but not being used. I found that the problem was with Beaver’s font preloading. With this simple hook, I disabled this feature. This code should be inserted into fucntions.php of your child theme. Hope this helps you too.