Use WordPress Functions Outside of WordPress

Just add the following piece of code in your file to have access to WordPress functions:

require($_SERVER['DOCUMENT_ROOT'].'/blog/wp-blog-header.php');

Related posts:

  1. PHP HTTP Autentication
  2. Best Collection of Code for Functions.php
  3. Creating a Custom Functions Plugin for WordPress
  4. How to Add Multiple Sidebars to WordPress
  5. Collection of Useful WordPress Functions

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!