php7-mysql-data/Kapitel_7/Lektion_4/wordpress/wp-blog-header.php

22 lines
364 B
PHP
Raw Permalink Normal View History

2016-08-16 21:20:53 +02:00
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once( dirname(__FILE__) . '/wp-load.php' );
// Set up the WordPress query.
wp();
// Load the theme template.
require_once( ABSPATH . WPINC . '/template-loader.php' );
}