Created
September 17, 2012 12:01
-
-
Save csu/3736928 to your computer and use it in GitHub Desktop.
Bits WordPress Page Template
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 | |
/* | |
Template Name: Bits | |
*/ | |
get_header(); ?> | |
<?php | |
query_posts('cat=13'); | |
while ( have_posts() ) : the_post(); ?> | |
<article id="<?php the_ID(); ?>" class="post"> | |
<h2> | |
<?php print_post_title() ?> | |
</h2> | |
<?php the_content(); ?> | |
<h2><?php //echo get_the_category_list(', '); ?></h2> | |
</article> | |
<?php endwhile; // End the loop. Whew. ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment