Created
April 10, 2014 00:33
-
-
Save joshfeck/10333327 to your computer and use it in GitHub Desktop.
This is a simple, minimally-styled, single page template to be used for an Event Espresso payments page template when using an offsite gateway like Authorize.net SIM where adding SSL isn't a viable option. It will not match your WordPress theme, with the exception of Ice Cap, which this template was based on: http://wordpress.org/themes/ice-cap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: minimal | |
*/ | |
?> | |
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> | |
<title><?php bloginfo('name'); ?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11" /> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1"> | |
<style media="screen" type="text/css"> | |
body{margin:0;font-size:1em;line-height:1.4;font-family:Helvetica Neue,sans-serif}a{color:#55afb9;text-decoration:none}a:visited{color:#55afb9}a:hover{color:#55afb9;text-decoration:underline}a:active,a:focus,a:hover{outline:0}#wrapper{width:800px;margin:0 auto}div,li,ul{position:relative}table tr:nth-child(2n){background-color:#ddd}table td,table th{padding:10px;border:1px solid #999}table th{font-weight:700}.menu,.menu-header{clear:both;background-color:#7e7e7e;font-size:1.5em;list-style:none;margin:0;padding:0;text-align:center;width:100%}.menu li,.menu-header li{margin:5px;display:inline}.menu li:hover a,.menu-header li:hover a{background-color:#fff;color:#7e7e7e;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.menu a,.menu-header a{color:#e4e4e4;display:inline-block;font-family:Quicksand Helvetica Neue,sans-serif;font-weight:lighter;line-height:1.5em;text-decoration:none;margin:5px;padding:2px 5px}.menu a:hover,.menu-header a:hover{text-decoration:none;background-color:#fff;color:#7e7e7e;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.menu .children,.menu-header .children{background:#fff;list-style:none;position:absolute;left:-9999px;top:35px;z-index:100000;margin:-8px 0 0 5px;display:block}.menu .children li,.menu-header .children li{padding:0;margin:0;float:none}.menu .children a,.menu-header .children a{white-space:nowrap}.menu .children ul,.menu-header .children ul{margin-left:0;border:none}.menu li:hover ul.children{left:0}.menu li:hover a,.menu li:hover ul a{text-decoration:none}.menu li:hover ul a:hover{text-decoration:underline}article{clear:both;display:block;margin:40px 0;width:100%;overflow:hidden}article side{color:#646464;display:block;float:left;font-weight:400;padding:0 1%;width:23%}article side #circle{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;background-color:#d7d7d7;font-family:Quicksand Helvetica Neue,sans-serif;font-size:2em;height:65px;width:65px;margin:0 auto 15%;text-align:center}article side #circle div{padding:18%}article side date{font-family:Quicksand Helvetica Neue,sans-serif;display:block;text-align:center;width:60%;margin:0 auto;font-size:1.3em}article side list{display:block;text-align:center;width:60%;margin:10px auto;font-size:1em}article side a{color:#000;font-family:Quicksand Helvetica Neue,sans-serif}article side a:hover{color:#55afb9;text-decoration:none}article post{display:block}article post li{margin:0 0 0 30px}article post h4{margin:0 0 30px}article post h4 a{font-family:Quicksand Helvetica Neue,sans-serif;color:#646464;font-weight:400}article post h4 a:link,article post h4 a:visited{color:#55afb9;text-decoration:none}article post h4 a:active,article post h4 a:hover{color:#55afb9;text-decoration:underline}article post p{font-family:"Proxima Nova Regular","Helvetica Neue",Arial,Helvetica,sans-serif}article post p a:link,article post p a:visited{color:#40929b;text-decoration:none}article post p a:active,article post p a:hover{text-decoration:underline}nav{clear:both;height:80px;width:100%;padding:0;text-align:center;overflow:hidden}nav a{color:#55afb9;text-decoration:none}nav a:visited{color:#55afb9}nav a:hover{color:#55afb9;text-decoration:underline}nav next,nav prev{background-repeat:no-repeat;height:45px;width:45px;float:left}nav next img,nav prev img{margin:0}nav prev a{display:block;background:url(images/prev.png) no-repeat;height:45px;width:45px}nav next a{display:block;background:url(images/next.png) no-repeat;height:45px;width:45px}nav #button{width:100px;margin:-25px auto 0 auto} | |
</style> | |
<?php | |
wp_head(); | |
?> | |
</head> | |
<body <?php body_class(); ?>> | |
<div id="wrapper"> | |
<header> | |
<h1> | |
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> | |
<?php bloginfo( 'name' ); ?> | |
</a> | |
</h1> | |
<h2><?php bloginfo( 'description' ); ?></h2> | |
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> | |
</header> | |
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> | |
<article> | |
<post><div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<h4><?php the_title(); ?></h4> | |
<p> | |
<?php the_content(); ?> | |
</p> | |
</div></post> | |
</article> | |
<?php endwhile; ?> | |
</div> | |
<?php wp_footer(); ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment