This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Tag: Snippets
-
How to display related posts on your WordPress site
Most of the time we want to keep the visitors more on our websites, by providing them options to explore after they have finished reading the article or when scrolling down the page. -
How to fix the missing captions from the gallery without re-selecting each image
Have you noticed that after the most recent WordPress upgrades you might have lost the captions on the images rendered in the galleries? See below the PHP snippet that fixes this programmatically, in just a few lines of…
-
How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included
Applying by default a specific template to new posts, pages or custom post types seems like the fastest…
-
WordPress Tips: Simplify Gutenberg Embed Block Variants
WordPress Gutenberg editor is very easy to use and it provides out-of-the-box useful features, and having…
-
How to Trim Strings and Keep HTML Tags – Snippet Included
There are a lot of methods for trimming strings that take into account the number of chars versus the…
-
How to fix translation in multi-language website + WooCommerce + AJAX checkout
I have been working recently on a multi-language website that is using WooCommerce > 3.5 and for some…
-
How to Integrate Google reCAPTCHA v3 in Forms that Use AJAX Validation
I recently had to update one of the sites that is using Google reCAPTCHA to use the latest version…