Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying Road Runner newsletters.
- *
- * Combining in header and footer files.
- *
- * Used to display archive-type pages for posts in a tag.
- *
- * @link http://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPress
- * @subpackage Twenty_Thirteen
- * @since Twenty Thirteen 1.0
- */
- ?><!DOCTYPE html>
- <!--[if IE 7]>
- <html class="ie ie7" <?php language_attributes(); ?>>
- <![endif]-->
- <!--[if IE 8]>
- <html class="ie ie8" <?php language_attributes(); ?>>
- <![endif]-->
- <!--[if !(IE 7) | !(IE 8) ]><!-->
- <html <?php language_attributes(); ?>>
- <!--<![endif]-->
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>">
- <meta name="viewport" content="width=device-width">
- <title><?php wp_title( '|', true, 'right' ); ?></title>
- <meta name="description" content="Lordshill Road Runners - Southampton's friendliest Running Club.">
- <meta name="keywords" content="Lordshill Road Runners, Southampton, Lordshill, Road, Runners, running, jogging, keep fit, southampton, road running">
- <link rel="profile" href="http://gmpg.org/xfn/11">
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
- <!--[if lt IE 9]>
- <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
- <![endif]-->
- <?php wp_head(); ?>
- </head>
- <body <?php body_class('newsletter'); ?>>
- <div id="page" class="hfeed site">
- <header id="masthead" class="site-header" role="banner">
- <a id="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">< Return to website</a>
- <a id="print-button" href="javascript:window.print();">PRINT THIS NEWSLETTER</a>
- <hr class="blue" />
- <h1 class="site-title"><?php echo single_tag_title( '', false ); ?></h1>
- <h2 class="site-description"><?php echo strip_tags(tag_description()); ?></h2>
- </header><!-- #masthead -->
- <div id="main" class="site-main">
- <!-- main section -->
- <div id="primary" class="content-area">
- <div id="content" class="site-content" role="main">
- <?php if ( have_posts() ) : ?>
- <?php /* The loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'newsletter-content' ); ?>
- <?php endwhile; ?>
- <?php twentythirteen_paging_nav(); ?>
- <?php else : ?>
- <?php get_template_part( 'content', 'none' ); ?>
- <?php endif; ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <!-- <?php //get_sidebar(); ?> -->
- </div><!-- #main -->
- <hr class="blue" />
- <footer id="colophon" class="site-footer" role="contentinfo">
- <!-- <?php //get_sidebar( 'main' ); ?> -->
- </footer><!-- #colophon -->
- </div><!-- #page -->
- <?php wp_footer(); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement