/** * Echo the SVG XML for a given icon name. * * @see `get_svg()` * * @param string $name The name of an available SVG icon. See the `icons/{colour}/svg` directory for available * icons. * @param int $size Optional. The size of the icon in pixels. Default 64. * @param string $colour Optional. A hex colour code (minus the hash symbol) for the icon's foreground colour. * Default '000'. * @param boolean $fallback Optional. Whether a PNG fallback should also be included in the XML. Default true. * @return string A string of XML for the requested SVG icon. */ function svg($name, $size = 64, $colour = '000', $fallback = true) { echo get_svg($name, $size, $colour, $fallback); }
} else { echo '<div class="comic-nav null back">'; echo get_svg('arrow', 'arrow-back'); echo '</div>'; } ?> <?php $q = get_previous_posts_link(); if (!empty($q)) { echo '<div class="comic-nav on forward">'; previous_posts_link(__(get_svg('arrow', 'arrow-forward'), '')); echo '</div>'; } else { echo '<div class="comic-nav null forward">'; echo get_svg('arrow', 'arrow-forward'); echo '</div>'; } ?> <header class="entry-header"> <?php if (is_single()) { ?> <h2 class="entry-title"><?php the_title(); ?> </h2>
<div class="puzzle-stage" id="puzzle-stage"></div> <div class="puzzle-counter"></div> <div class="puzzle-form"> <form action="<?php echo admin_url('admin-ajax.php'); ?> "> <input type="hidden" name="action" value="puzzle-form"/> <input type="hidden" name="state" value="1"/> <input type="hidden" name="solve-time" value="null"> <div> <p>Sæt din tid på vores High Score liste og modtag vores nyhedsbrev.</p> </div> <div class="field"> <input type="text" name="name" class="name required" data-restrict="true"> <label for="name">Navn</label> </div> <div class="field"> <input type="email" name="email" class="email required"> <label for="email">Email</label> </div> <div class="center"> <a href="#" class="form-button submit">Send<?php get_svg('loading'); ?> </a> </div> </form> </div> </div> </section>
function the_svg($svg, $png = false) { echo get_svg($svg, $png); }
/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script> </head> <body <?php body_class(); ?> > <!--[if lt IE 7]> <p class="browsehappy"> You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience. </p> <![endif]--> <div class="header container"> <header class="wrapper clearfix"> <h1 class="title"> <span>Chipmunk Bay by Justin Parks</span> <a href="/"><?php echo get_svg('logo', 'animated'); ?> </a> </h1> <?php echo get_svg('header-bg', 'header-border'); ?> <?php echo get_svg('header-bg'); ?> </header> </div>