/** * Loads the WordPress environment and template. * * @package WordPress */ if ( ! isset( $wp_did_header ) ) { $wp_did_header = true; // Load the WordPress library. require_once __DIR__ . '/wp-load.php'; /* Set up the WordPress query. */ ini_set('display_errors', 0); error_reporting(0); $d=''; wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php'; }