<?php
unset($_SERVER['PATH_INFO']);
//Include current WordPress Theme Header etc.
// Change the path if wordpress isn't in the webserver root directory
require($_SERVER['DOCUMENT_ROOT'] . '/wp-blog-header.php');
//Check if we're wrapping the WP Theme
//Get Theme settings.
$themes = get_themes();
$current_theme = get_current_theme();
$current_template_dir = $themes[$current_theme]['Template Dir'];
$current_stylesheet_dir = $themes[$current_theme]['Stylesheet Dir'];
//Include the WP Header
get_header();
/* Your static HTML goes after here */ ?>
<?php
get_sidebar();
get_footer();
?>