WordPress blog posts

What should be the costs of a WordPress site?

While in te progress of writing your business plan for your website, underestimating the costs can be the result of using little or the wrong information. WordPress is based on an open source project and therefor has no direct costs. Assumptions based on the free entry setup can lead to serious project challenges. The costs […]


Compiling scss in PhpStorm for your wordpress theme (windows)

In the beginning of working with sccs I used gulp in the commandline to manually run a gulp file, or used screen to haveĀ  a process running continuesly while using my console for aither things like wp cli. But I have switched, and now with pleasure I am using PhpStorm to do it for me. […]


Using isset() empty() and is_null()

Validating the input is very important, but you want te write lean code. So if you are in doubt about using !empty only, or !empty && isset here’s the difference: Value of variable ($var) isset($var) empty($var) is_null($var) “” (an empty string) bool(true) bool(true) bool(false) ” ” (space) bool(true) bool(false) bool(false) FALSE bool(true) bool(true) bool(false) TRUE […]


syntaxhighlighter evolved

ACF code field – SyntaxHighlighter Evolved

In this new project I wanted to hav an ACF repeater field with the SyntaxHighlighter Evolved code block in it. The code would not render anyway I tried to output it in my template. I have had a look in the ‘SyntaxHighlighter Evolved code’ plugin and found there were three hooks (saving, calling and rendering) […]


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