WooCommerce – really slow wc_get_product_class

In my investigation and work to make WooCommerce perform a little bit better i found this little surprise! The little helper wc_get_product_class to print correct class names in the wrapper element in html for me took over 100ms per product.

Read More »

WooCommerce zero trimming decimal

I found this little neat thing when messing around with decimals in WooCommerce. Nice of them to provide this little filter! But even better if it was a setting in wp-admin, but until that is added, this is a quite

Read More »

CSV and HTML search filter for WordPress

This is one of my WordPress plugins (HTML filter and csv-file search) made to add a simple ajax-search in html or in uploaded CSV-file. The plugin has two shortcodes. [ csvsearch ] [ csvsearch ] is performing a search in

Read More »

Select2 on existing select-dropdown

I had some issues with using Selct2 on an already existing select where the select attribute was already set. The problem was Select2 didn’t unselect the previously set option. To by-pass that I did this workaround. To use Select2 check

Read More »

Elementor Custom Modules

Creating lots of modules in you theme for Elementor? Do you want to skip the step of loading the files and classes manually? I use this code which makes things very handy, just create the php-file with the same name

Read More »
Cart