Skip to content

Instantly share code, notes, and snippets.

@csu

csu/bits.php

Created Sep 17, 2012
Embed
What would you like to do?
Bits WordPress Page Template
<?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
You can’t perform that action at this time.