groups

name language licence
archive PHP GPL 2
Display PHP on a Single Page PHP BSD
ALTERNATING ROWS (WORDPRESS VERSION) PHP BSD
WORDPRESS (WP) CUSTOM FIELDS PHP BSD
WORDPRESS STATIC HTML TEMPLATE PHP BSD
gallery PHP GPL 2
Display In 2-Column Table PHP BSD
WordPress custom post listing PHP BSD

< 1 2 3 4 5 6 7 8 9 10 11 12 >



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...)