Simple techniques and PHP snippets that will make your WordPress website more secure.

Share draft post link tutorial

Share Link to a Draft Post in WordPress

Learn how to create sharing links for Draft Posts in WordPress with some simple PHP code. These links can be used to share draft content with non-logged-in users. We’ll make a small meta box on the Edit Post page too, so it’s super easy to copy the draft post link.

WooCommerce custom registration fields

Separate WooCommerce login and registration forms

Learn how to split the WooCommerce login and registration forms into two separate URLs without using a plugin. We’ll also make it easy to add custom fields to the registration form, so you can capture things like billing address when new users/customers register.