groups

name language licence
featured sliding content PHP BSD
How to change the default Wordpress excerpt PHP BSD
Display an External RSS Feed PHP BSD
WORDPRESS STATIC HTML TEMPLATE PHP BSD
CUSTOM TEMPLATES FOR POSTS IN WORDPRESS PHP BSD
WORDPRESS: LATEST POSTS FROM CATEGORY PHP BSD
Better more link PHP BSD
WORDPRESS INCLUDE PAGE CONTENT PHP BSD

< 1 2 >



language: PHP
licence: BSD

WORDPRESS STATIC HTML TEMPLATE

options: view full snippetsend to code collector
<?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();
	
(Continues...)