ldc-groupe/wp-blog-header.php

22 lines
351 B
PHP
Raw Normal View History

2020-04-17 16:50:36 +02:00
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
2020-05-04 16:30:49 +02:00
require_once __DIR__ . '/wp-load.php';
2020-04-17 16:50:36 +02:00
// Set up the WordPress query.
wp();
// Load the theme template.
2020-05-04 16:30:49 +02:00
require_once ABSPATH . WPINC . '/template-loader.php';
2020-04-17 16:50:36 +02:00
}