Created
February 4, 2011 02:31
-
-
Save alisonmf/810648 to your computer and use it in GitHub Desktop.
new single page for a single portfolio piece of work
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 get_header(); ?> | |
<div id="content"> | |
<h1 class="noLine">Work</h1> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div id="singleWork"> | |
<?php | |
$postclientname = get_post_meta($post->ID, 'client_name', true); | |
$projectdescription = get_post_meta($post->ID, 'project_description', true); | |
$postslides = get_post_meta($post->ID, 'slideshow', true); | |
?> | |
<div id="workContent"> | |
<h2><?php echo $postclientname; ?></h2> | |
<h3><?php echo $projectdescription; ?></h3> | |
<?php the_content(); ?> | |
</div> | |
<div id="work-slideshow" class="nivoSlider"> | |
<?php echo $postslides; ?> | |
</div> | |
<span id="goBack"> | |
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/arrow-back.jpg" /> | |
<a href="<?php bloginfo('url'); ?>/work/">Back to Gallery</a> | |
</span> | |
</div> | |
<?php endwhile; endif; ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment