WordPress blog posts

WordPress – Can not activate theme

When you have installed your theme, and you can see it under appearance, but you can not activate it. There is a good chance your setup does not meet the requirements. The buttons will show like: Your theme will have requirements, specified in the style.css for your theme. If your setup (php, WordPress) does not […]


WordPress CPT drop permalink prefix

When you create a custom post type, the url us prefixed with the post type name or slug, you can remove that on the output:


Display WooCommerce search results in FacetWP page

To make the search results appear on your facet page, add a search facet to the page and then just add these to your functions.php: YOUR_FACET_SEARCH_WIDGET_NAME – with the name of your facet YOUR_RESULT_PAGE – with the slug of you facet page The same thing can be done for the normal WordPress search form


Mount NTFS drive on Paspberry 4

Having a spare SSD harddrive and the new Raspberry 4 running Raspbian Buster (Debian 10.0 – Buster) I wanted to expand the storage with the 125GB SSD. I plugged it in with the SATA 22pin USB 3.0 connector but like most things it is not that simple.. running fdisk the SSD does not show the […]


Do not autocomplete login field (or others)

Inputfields are quality content in ‘the web’ world, they send valuable information from the guest to the server. Some inputfields are repeatetly used very often with different inputs. If you have extensions or browser software that autocompletes the fields this can be very annoying. To turn autocomplete off simply set autocomplete to false:


Remove /feed/ from url

Somehow your site git indexed with the feed url’s and even worse when the url does not excists in google anymore, google gives you two errors. One for the url and one for the same link with /feed/ behind it. To solve this you can use two actions. One: remove the feed from wh-head This […]



Creating an npm package

I have enjoyed the easiness of npm packages a lot, they give you quick tools to do what they are specified for. I was so enthusiastic I wanted to make my own. Knowing it would be a lifetime study I am creating this post to document the basics and eventually more specific want to haves.


WooCommerce add attribute to multiple products (programmatically)

This snippets was used in winkel-centrum.nl, I needed to adjust an import and add colors found in the title as attributes. I had imported the products and wanted to extract a word from the title to add as attribute in the product. I used a shortcode because I wanted to visualisy the products I was […]


Hide userprofile fields like facebook url – in edit profile

When you give access to the backend for minimal users, you will want te reduce the available options to make it more easy. One thing is the edit user profile where there are a lot of unused options. By adding (or removing) classes in the list you can hide the fields. Find the class associated […]