This allows us to copy the theme folder over to a wordpress installation in its entirety without having to change the PHP include directive to include a full absolute path to the tabs.php file with the rest of the webpage.
		
			
				
	
	
		
			30 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * @package WordPress
 | 
						|
 * @subpackage Default_Theme
 | 
						|
 */
 | 
						|
?>
 | 
						|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
						|
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
 | 
						|
 | 
						|
<head profile="http://gmpg.org/xfn/11">
 | 
						|
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
 | 
						|
 | 
						|
<title><?php wp_title('«', true, 'right'); ?> Blog - aclindsay.com</title>
 | 
						|
 | 
						|
<link rel="stylesheet" href="http://aclindsay.com/css/stylesheet.css" type="text/css" media="screen" />
 | 
						|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
 | 
						|
 | 
						|
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
 | 
						|
 | 
						|
<?php wp_head(); ?>
 | 
						|
</head>
 | 
						|
<body <?php body_class(); ?>>
 | 
						|
<div id="header">
 | 
						|
	<div id="header-inner">
 | 
						|
		<div id="title"><a href="http://aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div>
 | 
						|
		<?php include("tabs.php"); ?>
 | 
						|
	</div>
 | 
						|
</div>
 | 
						|
 |