WordPress Code Snippets

A fresh mix of code snippets and tutorials

Use WP functions outside of WordPress


Here’s how easy it use to use any of WordPress default functionality from any PHP file outside of the WordPress installation directory.

One step

Add this to the beginning of your external (non-WP) PHP file(s):


Once the wp-load.php file is included properly, all native WordPress functions are yours for the using. Enjoy!

Learn more

WordPress Themes In Depth

Show Support

Like our new Facebook Page to show support!