I have discovered that the MailChimp API is pretty awful at handling audio tags when sending an email – It’ll come through looking like a playable audio player but nothing works in my email client! So I created a code snippet to turn an audio tag into a Play Audio link button…
Continue reading...
I have recently updated my Never Loose Contact form plugin for WordPress websites. I originally wrote it because I wanted a simple Spam proof contact form that saved the messages to a database, in case the emails went AWOL. In it’s first few iterations it blocked contact form messages with more than 2 hyperlinks in […]
Continue reading...
While updating a WordPress plugin recently I wanted to enable the block editor for a custom post type. Strangely, it is not automatic.After a quick Google, I discovered I needed to add ‘show_in_rest’=>true and ‘supports’=>array(‘editor’) to the arguments for the register_post_type function. All well and good, but no title field appears at the top of […]
Continue reading...
What a pain! Push notifications work when the app is in the foreground, but had stopped when the app is in the background. I’d update my app too! I am using cordova-plugin-firebase, which is being kept upto date more than cordova-plugin-fcm There are 2 reason for this that I have found! 1) XCode 11 doesn’t […]
Continue reading...
Today I was getting a white screen when trying to simulate my latest Cordova App on iOS using XCode 11. The debug messages weren’t helpful. NSURLConnection finished with error – code -1100 2019-11-03 18:41:25.312124+0000 Plumbers Mate[9951:3513187] Finished load of: file:///Users/Andy/Library/Developer/CoreSimulator/Devices/6B89E196-7C29-4879-A5C3-1749D1063D16/data/Containers/Bundle/Application/76725DD0-4577-4BC9-8192-0E6A92394C9D/Plumbers%20Mate.app/www/index.html I spent ages Googling “NSURLConnection finished with error – code -1100” to discover it was […]
Continue reading...
This evening, I rescued a client’s WordPress website from a hack that was so bad their host shut it down. I have a checklist that I use now to recover WordPress sites, which I’d like to share with you. Or you can hire me to do it for you as it requires some technical confidence! […]
Continue reading...
A local primary school wanted a parents evening booking system for their WordPress based site. It needed to be secure, but simple and easy to use. The public booking page looks like the picture below – parents click on their class to add their child’s name and choose from an available appointment. The form is […]
Continue reading...
Sometimes it is a good idea to reset all the passwords for your WordPress website and email the users to let them know their new password. Especially when you have been hacked – if you have been hacked, read about what to do My emergency password reset plugin will regenerate every user’s password and email […]
Continue reading...
Meta Boxes are boxes that appear on the dashboard and for custom features on edit page/post pages. They can also be used in plugins too. Here’s how to create meta boxes on an admin page that will remember whether you have opened/closed them and the order you have dragged them into. They are relatively easy […]
Continue reading...
Last night we were hacked by Turkish Jihadi’s who replaced our index.php, disabled Akismet and one other plugin. What do you do when that happens? Change your host password and FTP password immediately. Let the host what has happened and ask them to investigate how it happened. We have a plugin called Simple Login Log […]
Continue reading...