You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
351 B
PHTML
22 lines
351 B
PHTML
2 years ago
|
<?php
|
||
|
/**
|
||
|
* Loads the WordPress environment and template.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
*/
|
||
|
|
||
|
if ( ! isset( $wp_did_header ) ) {
|
||
|
|
||
|
$wp_did_header = true;
|
||
|
|
||
|
// Load the WordPress library.
|
||
|
require_once __DIR__ . '/wp-load.php';
|
||
|
|
||
|
// Set up the WordPress query.
|
||
|
wp();
|
||
|
|
||
|
// Load the theme template.
|
||
|
require_once ABSPATH . WPINC . '/template-loader.php';
|
||
|
|
||
|
}
|