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


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 […]



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 […]


WooCommerce Checkout require number if not ‘local pickup’

In the Netherlands WooCommerce removed the second address line. This made the error rate for people failing to insert the housenumber rise. I had two options, put the second line back and make it rweuired, or check if the one line that is there has a number in it..


There has been a critical error on your website. – WordPress

This option started in 2019. A friendly notice something is terribly wrong with the website. You might not feel it is friendly, and terribly might be an exaggeration. But anyway you are stuck.. if you are a normal user, like an editor you should contact the person maintaining the website. If you are the owner […]


WordPress 5.3 Gutenberblocks get better

This week WordPress released version 5.3 and the ‘Gutenberblocks’ are maturing. You can perfectly run WordPress without the blocks using the ‘classic editor‘ but the concideration list you might have is getting smaller.