WordPress blog posts

RaspberryPi 4 – webserver

For a few years I have had a RaspberryPi 3 running with php 5.6, 7.1, apache, webmin and virtualmin. On it some scanning software, websites and a package repository. This is all working well ( for light use ). But there are a few issues: no support for the latest versions of php and .. […]


PHPstorm auto completing html code

A short video showing what you can do with emmet in PHPstorm to automplete html structures



Use costs shippingclass for all products in WooCoomerce cart

In a situation where you want the shipping costs determinined by a shipping class to apply for all products in the cart (and not use the highest price).


WordPress .htaccess rule only for frontend (logged out)

So I added some apache .htaccess rows to the .htaccess in my WordPress setup and found the /wp-admin/ was not working anymore. It redirected me to the frontend and I was stuck… The rules worked as wanted frontend, but broke the backend. I needed one extra row to say: ‘only do it frontend’. This is […]


Simple 301 redirects – Bulk Check

# Simple 301 Redirects – Bulk Check # Upload your CSV and verify every redirect is working. Workflow Requirements 1 Upload the plugin * WordPress installation 2 Activate the plugin * Administrator rights 2 Open admin page: ‘Bulk Redirect’ under tools * CSV file 4 Upload CSV * Mouse to press Run 5 Press Run […]


Translated publication date

There are multiple ways to display the publication date above the post and a few ways to translate. One shorthand way is as follows.

   


Samsung galaxy buds – 92AC

The samsung galaxy buds were recently launched and while using I aquired the following files: Samsung galaxy buds manual – SM-R150 Samsung galaxy buds manual – dutch – 92AC Samsung galaxy buds manual – dutch – support pag Samsung galaxy buds manual – dutch – support pag


Function for bash_profile to test your websites

This is a simple, adjustable function you can put in your bash_profile to test if your websites give the right http status:

The rusult will be as simple as:

 


Generate sourcemaps in twentynineteen for style.css

If you dived into ‘How to compile WordPress 5.0 twentynineteen sass files you might mis the sourcemaps for the style.css. The sourcemaps are not generated by any of the commands without a small adjustment.

In the line with build:style you need to add: style.css –source-map, just as done above.