Skip to content

Instantly share code, notes, and snippets.

@goshdarnit
Created April 27, 2010 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goshdarnit/380180 to your computer and use it in GitHub Desktop.
Save goshdarnit/380180 to your computer and use it in GitHub Desktop.
<?php
/*
Template Name: portfolio page
*/
get_header();
?>
<div id="container">
<div id="content">
<div id="portfoliotitle">
<h1>PORTFOLIO</h1>
</div>
<?php
the_content();?>
<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>">
<div class="entry-content">
<?php // thematic_content();
the_post_thumbnail();
// We want to keep count of the posts, let's start with 1:
query_posts(array(
'category_name' => 'portfolio',
'showposts' => '12',
));
?>
</div>
</div><!-- .post -->
<?php
rewind_posts();
// action hook creating the archive loop
thematic_archiveloop();
?>
</div><!-- #content .hfeed -->
</div><!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment