2017-06-13 09:45:37 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Loads the WordPress environment and template.
|
|
|
|
|
*
|
|
|
|
|
* @package WordPress
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-21 15:18:35 +01:00
|
|
|
if ( ! isset( $wp_did_header ) ) {
|
2017-06-13 09:45:37 +02:00
|
|
|
|
|
|
|
|
$wp_did_header = true;
|
|
|
|
|
|
|
|
|
|
// Load the WordPress library.
|
2021-08-04 17:09:29 +02:00
|
|
|
require_once __DIR__ . '/wp-load.php';
|
2017-06-13 09:45:37 +02:00
|
|
|
|
|
|
|
|
// Set up the WordPress query.
|
|
|
|
|
wp();
|
|
|
|
|
|
|
|
|
|
// Load the theme template.
|
2021-08-04 17:09:29 +02:00
|
|
|
require_once ABSPATH . WPINC . '/template-loader.php';
|
2017-06-13 09:45:37 +02:00
|
|
|
|
|
|
|
|
}
|