2003-12-10 19:22:36 -05:00
|
|
|
<?php
|
2008-05-25 11:50:15 -04:00
|
|
|
/**
|
|
|
|
* Loads the WordPress environment and template.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
*/
|
2003-12-10 19:22:36 -05:00
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
if ( ! isset( $wp_did_header ) ) {
|
2006-10-04 01:32:18 -04:00
|
|
|
|
2008-05-21 01:59:27 -04:00
|
|
|
$wp_did_header = true;
|
2005-02-13 16:20:00 -05:00
|
|
|
|
2015-12-19 06:20:28 -05:00
|
|
|
// Load the WordPress library.
|
2020-02-06 01:33:11 -05:00
|
|
|
require_once __DIR__ . '/wp-load.php';
|
2003-12-10 19:22:36 -05:00
|
|
|
|
2015-12-19 06:20:28 -05:00
|
|
|
// Set up the WordPress query.
|
2008-05-21 01:59:27 -04:00
|
|
|
wp();
|
2004-08-27 16:59:38 -04:00
|
|
|
|
2015-12-19 06:20:28 -05:00
|
|
|
// Load the theme template.
|
2020-02-06 01:33:11 -05:00
|
|
|
require_once ABSPATH . WPINC . '/template-loader.php';
|
2004-05-31 19:35:32 -04:00
|
|
|
|
2008-05-21 01:59:27 -04:00
|
|
|
}
|