<div class="wrapper"> <div class="row"> <section class="grid-box grid-box--desk--3of4"><?php if (have_posts()) { ?> <div class="has-articles"><?php while (have_posts()) { the_post(); ?> <article class="article"> <div class="article-social"> <a href="//www.pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink()); ?> &media=<?php echo get_featured_image_src('large'); ?> &description=<?php echo urlencode(get_the_title()); ?> " data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a> <a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?> " data-text="<?php echo the_title(); ?> 
<?php echo the_permalink(); ?> " data-size="small" data-dnt="true">Tweet</a>
bloginfo('name'); ?> : <?php bloginfo('description'); ?> </title> <meta property="og:title" content="<?php wp_title('', true); ?> "> <meta property="og:site_name" content="<?php bloginfo('name'); ?> "> <meta property="og:image" content="<?php echo get_featured_image_src($post->ID); ?> "> <meta property="fb:app_id" content="606174649467343"> <?php wp_head(); ?> <script type="text/javascript" src="//use.typekit.net/znk2trq.js"></script> <script type="text/javascript">try{Typekit.load();}catch(e){}</script> <link rel="stylesheet" href="<?php echo $template_url; ?> /css/application.css"> <link rel="shortcut icon" href="<?php echo $site_url; ?>
<?php global $site_url; global $template_url; global $page_quote; get_header(); ?> <div class="wrapper"><?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article class="article article--printing"> <header class="header header--project"> <div class="card card--feature" style="background-image:url('<?php echo get_featured_image_src('large', $post->ID); ?> ')"> <h1 class="h1"><?php the_title(); ?> </h1> </div> </header><?php the_content(); $rows = get_field('rows'); if (is_array($rows) && !empty($rows)) { foreach ($rows as $row) { $align = empty($row['image_on_right']) ? '' : ' grid-box--right'; ?> <div class="row row--space">
"> <a href="<?php echo get_permalink(); ?> " title="View <?php the_title(); ?> ">View Project</a> <a href="<?php echo get_permalink($page_quote); ?> ?project=<?php echo $post->ID; ?> " title="Get a Quote for something like this">Get a Quote</a> <span class="has-img" style="background-image:url('<?php echo get_featured_image_src('thumbnail', $post->ID); ?> ')"></span> </div><?php $i++; } ?> <div class="card card--none tac is-hidden"><h1 class="h1">No Printing Projects match the filters above.</h1></div> </section><?php } wp_reset_query(); ?> </div> <?php get_footer();