mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 07:05:14 +01:00
Initiale Version
This commit is contained in:
21
Kapitel_7/Lektion_4/wordpress/wp-blog-header.php
Executable file
21
Kapitel_7/Lektion_4/wordpress/wp-blog-header.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?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' );
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user