Practical insights into my day to day

Writings and snippets from my day to day work as a freelance developer / consultant. Read up on helpful tips in WordPress, common issues with front-end development, but also the occasional tool or online marketing related reads.

Some Snippets

React REST API Post request

In order to post the data we need to verify the origin of the domain. In WordPress it’s quite normal to have the verify_nonce available, but in React we need to be able to access the nonce. Below you can find the code for the post request. POST with Axios Make sure you have this…

React Forms and WordPress REST API

Recently, I built a plugin that actually contains a full React project with react-app. The app is actually a 3-step form with some validations. I thought it was easier to build it in React because of the component structure and the many validation standards. It was quite fun to build and I’d like to give…

Contact Form 7 Email validation

The Contact form 7 plugin is a very simple powerful plugin used in many different setups. I mainly use it because of it’s extensibility. There are many solutions out there for easily add additional functionality to it. One of them is to validate emails according to you own validation mechanism. Validate disposable emails For some…