Category: Web Development

Spam free contact form

  |   By  |  0 Comments

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...

Enabling the block editor for custom post types correctly

  |   By  |  0 Comments

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...

White Sceen of death on Cordova iOS but not browser

  |   By  |  0 Comments

Found the error!

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...

How to rescue a WordPress Hack

  |   By  |  2 Comments

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...

School Parents Evening Booking System

  |   By  |  0 Comments

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...

Bulk WordPress Password Reset

  |   By  |  0 Comments

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...

Using Meta Boxes on Plugin Admin Pages

  |   By  |  5 Comments

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...

So your WordPress site has been hacked

  |   By  |  2 Comments

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...