Return to Snippet

Revision: 3039
at May 25, 2007 15:16 by llbbl


Initial Code
<?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();

?>

Initial URL

                                

Initial Description

                                

Initial Title
Wordpress Static HTML Template

Initial Tags
php, textmate, template, html, wordpress

Initial Language
PHP