I’ve been working on a BuddyPress/BuddyBoss website lately and we recently integrated custom notifications. These trigger whenever a group admin posts a message in a groups feed. All group members receive a notification when this happens. The website biggest group contains 7000 members, so this process can get quite intensive. Anyway, triggering the notification didn’t […]
Moving a multisite: Database errors & site not found.
Moving a multisite doesn’t always go with the ease you expect. I usually do this in two steps: Export the database Deploy/copy/sync the files to my new (staging) server When your files are ready and your new environment is configured it’s time to import the database. My preference goes to using WP-CLI for this. Copy […]
Backup your iPhone to Ubuntu 20.04 via Wi-Fi using MacOS
Note: This article is written for MacOS users. I’ve recently setup a home server and since it’s equipped with a 1TB drive I also wanted to use it for backing up my iPhone. On Big Sur, the iPhone can accessed directly via the Finder. You can configure and setup Wi-Fi sync via the finder. As […]
TimeMachine with samba on an Ubuntu server
The other day I setup an Ubuntu 20.04 server that runs a couple of docker containers. Since the machine is equipped with a 1TB hard disk I also wanted to use it as a TimeMachine backup location. Finding the right configuration took me a while, but with the settings below the disk automatically showed in […]
Where to put acf_form_head?
When you want to show ACF’s forms in your front-end, you have to add the acf_form_head function. But where? I was recently working with a commercial theme who didn’t like the usual place I put this function in, luckily the code below does do the job. It doesn’t get easier than this. add_action(‘get_header’, ‘acf_form_head’);
ACF JSON not loading?
I’ve used Advanced Custom Fields Pro for many years now. I love the ACF-JSON feature which allows automatically saves your fields into a JSON file. This is wonderful for deployments and automatically synchronises your fields to the production environment. Today I customised some things directly in the JSON file, and although this changes the fields […]
Klaar om live te gaan? Zorg dan dat je deze puntjes op de I hebt staan
De afgelopen weken heb je hard gewerkt om je WordPress website helemaal in te richten, het domein is gekoppeld, alles staat klaar en het moment om live te gaan en de site te delen met anderen is dan eindelijk aangekomen maar niet voordat deze punten even doorneemt. Om te beginnen is het handig om even […]
Broken links (404’s) on WooCommerce My Account page? Check your advanced settings
I just ran into an issue with the my account page. The dashboard links were all resulting in 404’s. I did quite some searching and even checked how links were generated. Well – it was an easy fix: Make sure you have the My account page set in Woocommerce -> Settings -> Advanced -> My […]
Fix for missing spam column in wp_users
While converting a website from single to multisite I bumped into an issue while creating accounts. When looking into the logs I noticed: WordPress database error Unknown column ‘spam’ in ‘field list’ for query INSERT INTO wp_users The issue is clear, i’m missing the ‘spam’ column in wp_users. Since i’m running this environment in Docker […]