Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 57 lines (49 sloc) 2.811 kb
<?php
global $calpress_mobile;
?>
<!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">
<title><?php wp_title( '-', true, 'right' ); echo wp_specialchars( get_bloginfo('name'), 1 ); echo(" : "); echo wp_specialchars( get_bloginfo('description'), 1 ) ?></title>
<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo(PRIMARYCSS); ?>" />
<!--[if IE ]>
<?php echo '<link href="'. PARENTCSS .'/calpress-ie.css" rel="stylesheet" type="text/css"/>'; ?>
<![endif]-->
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );//for threaded comments ?>
<?php wp_head() // For plugins ?>
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
<?php
if ( $calpress_mobile->showMobile() && $calpress_mobile->iphone ) {
echo "<meta name=\"viewport\" content=\"user-scalable=no, width=device-width\" />";
}
?>
<link rel="shortcut icon" href="<?php echo(THEMEURL); ?>/favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo(THEMEURL); ?>/apple-touch-icon.png" />
</head>
<body class="<?php calpress_body_class(); ?><?php calpress_hook_bodyclass(); ?>">
<?php
// if on mobile phone but not viewing mobile site, give option
if (!$calpress_mobile->showMobile() && $calpress_mobile->mobiledevice) {
echo("<div id=\"show-mobile\"><a href=\"?theme_view=mobile\">Switch to mobile version</a></div>");
}
?>
<?php calpress_hook_prewrapper(); ?>
<div id="wrapper" class="hfeed container_12">
<?php calpress_hook_preheader(); ?>
<div id="header" class="grid_12">
<div id="pre-title"><?php calpress_hook_header_pretitle(); ?></div>
<div id="blog-title"><?php calpress_hook_blogtitle(); ?></div>
<div id="post-title"><?php calpress_hook_header_posttitle(); ?></div>
<div id="blog-description"><?php calpress_hook_blogdescription(); ?></div>
</div><div class="clear"></div><!-- #header -->
<?php
if (! $calpress_mobile->showMobile()) {
calpress_hook_abovemenu();
calpress_globalnav("12");
calpress_hook_belowmenu();
}
?><!-- #menu -->
<div id="container" class="grid_12">
Jump to Line
Something went wrong with that request. Please try again.