Ninja Forms 3 Password Field

UPDATE 7/4/17 – Since version 3.0.31, password fields have been available again in Ninja Forms.  When adding fields, type in password in the search/filter bar on the top right to find the fields and add them to the form.  If you are using an up-to-date version of Ninja Forms, you should use the built-in password field and not use my solution below. Ninja Forms 3 doesn’t come built in with a password field, which makes things like user registration with Ninja Forms, a bit less user-friendly. Luckily with — Read more →

Secure passwords with salt and pepper hash

We’ve all heard about some of the biggest websites in the world being hacked in the last few years, be it LinkedIn, Yahoo or anyone else. The big deal when sites get hacked is that generally it means those who did the hacking have access to the site’s database, which contains all of the information held by the site about its users; which generally includes password information. The real problem with this is that many websites still don’t use the best practices when it comes — Read more →

Twitter Night Mode for Desktop

Twitter introduced night mode to its iOS app last week, following its release on Android earlier this year, and it’s made viewing Twitter on a mobile device all the easier on the eye. It’s been well received, and I’m loving using it on my phone because it’s much less glaring and easier to read. I’ve been using f.lux on my computer for about a year, and although it works almost entirely in the background – you notice the difference that it makes in dimming the — Read more →

Ninja Forms User Registration

Create a user in WordPress with a Ninja Form

After searching around for a code snippet that would do the trick when it comes to registering a user through Ninja Forms to no avail, I managed to put one together that works a treat. All you need to do is change some of the IDs in the code to match your form details and then pop this into your theme’s functions.php file and you’ll be good to go. You can even create multiple versions of this code snippet, just change up the name nf_create_user where it — Read more →

Add Referrer info to WooCommerce order

Here’s another quick code snippet for you all, this time to keep track of where a customer initially came to the site from when they make an order via WooCommerce. This is great for tracking any marketing efforts that you are doing and a quick and easy way of seeing how your users are interacting with your site. The data will then appear in the meta boxes of an order, so you can find out where they came from.