Clear expired/invalid data from wp2_icl_translations

I managed to clear out 18.000 unused / invalid rows from the `wp2_icl_translations` table, after realizing a lot of old/expired translations was present in the table. This can happen if you’re doing huge import/exports to your site, or delete products/pages/posts manually (via SQL) and also are using WPML. Run below query on your database to […]

Cloudways Breeze cache plugin with WPML Multi Currency switcher

If you are using Cloudways and/or their caching plugin Breeze you might have issues if you’re running a WooCommerce shop with WPML Multi Currency Switcher – at least I did, after migrating to Cloudways and switching away from W3 Total Cache. The issue will only appear to non-admins, or guests/visitors visiting your site without being […]

How to remove admin bar css (margin-top) in WordPress 5

The WordPress admin bar is outputting below HTML code to add margin-top to the html and body element of the page. However, if you like to have full control over what’s happening and perhaps fixing this in your own stylesheet and thereby avoding unnecessary HTML, you can add this nifty line to your functions.php file […]