Block requests for YITH WooCommerce Wishlist plugin by HTTP referer in mod_rewrite

Sometimes you need to block requests in .htaccess that don’t have a valid HTTP referer header (or one you want). For example, a visitor without an referer header cannot add items to a WooCommerce webshop’s wishlist. For that to happen he has to visit the site and has valid referrer information. Here is how to…

Continue reading Block requests for YITH WooCommerce Wishlist plugin by HTTP referer in mod_rewrite

Gutenberg backtick to code bug

When I type the `last backtick first, does this all transform to code?` When I type the first backtick first, does this all transform to code? When using Firefox and typing in the `last backtick first, what happens then?` Reference, bug report: https://github.com/WordPress/gutenberg/issues/8579

Ease WordPress Plugin updates by clearing PHP opcode caches first

WordPress updates, like Core-, plugin- and themes, sometimes fail because of enabled PHP opcode caches. Popular PHP opcode caches are OPcache, WinCache and APC. Flushing these opcode caches first eases the WordPress update process. And here is a Must Use Plugin to flush OPcache cache …

Bacon Ipsum

Spicy jalapeno bacon ipsum dolor amet tongue ham pork loin shankle ribeye cow t-bone pastrami. Burgdoggen ribeye pancetta, bresaola frankfurter venison alcatra short loin corned beef. Chicken sausage capicola shankle, ground round brisket drumstick burgdoggen meatloaf alcatra. Salami ham alcatra chicken t-bone pork belly.

Test Post with a Tag with Commas

As the title says, this is a WordPress post with a comma separated tag. Sometimes this comes in handy, for example when you want to display a taxonomy called “restaurant, bar” or a city and it’s country: “Groningen, the Netherlands”. This is all done using a simple WordPress filter, are you interested in the code?

Create smaller WP-Super-Cache supercache files

Currently, Vanilla-WP runs with WP-Super-Cache enabled, and my abandoned Database Cache disabled. The fun part of WP-Super-Cache as caching plugin is, it allows the usage of plugins. Yes, a plugin for a plugin 🙂 . One of those plugins is WPSCMin, by Joel Hardi.