Simply place
define( 'WP_USE_THEMES', false );
include 'wp-load.php';
on to of your template files (before everything else). This loads the whole WP core.
Simply place
define( 'WP_USE_THEMES', false );
include 'wp-load.php';
on to of your template files (before everything else). This loads the whole WP core.