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 […]
WordPress blog posts
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..
It is preferable to give ( even paying clients ) and editor role instead of an administrator role. This way you can be in control over theme settings and plugin installations / updates. But there are some things you can a allow your editor to control that do not fit in the role capabilities. Two […]
There are a few filters in WordPress to give you the oppertunity to change an aspect, but the variable is an array the has a cetrain order. Yoast breadcrums is a filter like that. If you want to add an extra link to the main blog at the second position it is not as simple […]
Heredocs are amazing ( under the right circumstances ), using ling strings with variables without endless echo’s or quotes and line endings. But using functions is a bit less convenient. I found the following made it work for me. (example uses the wordpress translation function)
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 […]
Following an earlier post how to update your wamp stack to Php 7.2, we update the tip and point out Php 7.3.11 and MySql 8.0.18 are available on Wamp. get your updates Awaiting Php 7.4 coming november 2019 we are excited.. If Php 7.4 is available it will be with at the same page get your […]
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.
Loading the textdomain for a custom plugin can feel like a nightmare. It either works, or you are endlessly trying to alter it untill it workd. wp_debug is no help and there you feel you do not have any way to debug it. Untill now: load_plugin_textdomain does return true or false and if it is […]
When migrating from development to live it is very simple to just synchronise the upload folder and export and import the database with PhpMyAdmin. In some cases this resolves in errors, and if this is the only technique you know you can get blocked. There are a few other migrating options and one special one […]