Sending a server-side (WordPress/PHP) development environment variable to your scripts

This is written for PHP and/or WordPress, but the principle applies to any server-side language. First we’ll we’ll create a php function for determining our environment: This function will return 1 for production, 2 for your staging environment,… Read More

How To Use WordPress Transients to Increase Your Site’s Page Speed

This tutorial is built-in to the snippet. Drop this snippet in the functions.php file to see it in action, and play around with it to see how it works. You’ll notice the “add_action( ‘all_admin_notices’….” hook. That will display… Read More

Fast, secure WordPress hosting is provided by WP Engine.