Day: November 13, 2014

Include WordPress wp-load in separate file

$parse_uri = explode( ‘wp-content’, $_SERVER[‘SCRIPT_FILENAME’] ); require_once( $parse_uri[0] . ‘wp-load.php’ ); Include that at the top of your separate file and you’ll be good to go. 🙂

Read more