wp/wp-blog-header.php
changeset 7 cf61fcea0001
parent 0 d970ebf37754
child 9 177826044cd9
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     7 
     7 
     8 if ( !isset($wp_did_header) ) {
     8 if ( !isset($wp_did_header) ) {
     9 
     9 
    10 	$wp_did_header = true;
    10 	$wp_did_header = true;
    11 
    11 
       
    12 	// Load the WordPress library.
    12 	require_once( dirname(__FILE__) . '/wp-load.php' );
    13 	require_once( dirname(__FILE__) . '/wp-load.php' );
    13 
    14 
       
    15 	// Set up the WordPress query.
    14 	wp();
    16 	wp();
    15 
    17 
       
    18 	// Load the theme template.
    16 	require_once( ABSPATH . WPINC . '/template-loader.php' );
    19 	require_once( ABSPATH . WPINC . '/template-loader.php' );
    17 
    20 
    18 }
    21 }