Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Work
- */
- ?>
- <?php get_header(); ?>
- <div class="blurb">
- <p><span>FRSH</span> will update this in a bit :)</p>
- </div><!-- end blurb -->
- <div id="work">
- <?php the_content(''); ?>
- <?php query_posts('cat=4'); ?>
- <?php if (have_posts()) : while ( have_posts() ) : the_post(); ?>
- <div class="portfolio-item">
- <?php //get article_image (custom field) ?>
- <?php $image = get_the_post_thumbnail(); ?>
- <a href="<?php the_permalink(); ?>"<img src="<?php echo $image; ?>" alt="View more info" /></a>
- <p class="btn"><a href="<?php the_permalink(); ?>">See more</a></p>
- </div><!-- end portfolio-item -->
- <?php endwhile; ?>
- <?php endif;?>
- <?php wp_reset_query();?>
- </div><!-- end work -->
- <div class="contact">
- <p><span>Let's Chat</span></p>
- <?php echo do_shortcode('[contact-form-7 id="22" title="Contact form 1"]'); ?>
- </div><!-- end contact -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement