Created
August 6, 2012 12:03
-
-
Save NickToye/3273952 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* The template for displaying all pages. | |
* | |
* This is the template that displays all pages by default. | |
* Please note that this is the wordpress construct of pages | |
* and that other 'pages' on your wordpress site will use a | |
* different template. | |
* | |
* @package WordPress | |
* @subpackage Starkers | |
* @since Starkers 3.0 | |
*/ | |
/* | |
Template Name: Group Page | |
*/ | |
get_header(); ?> | |
<div id="main" class="grid_16"> | |
<div id="content" class="grid_12 alpha"> | |
<?php query_posts('showposts=5&cat=1,2,3,4'); | |
while (have_posts()) : the_post(); ?> | |
Post Title: <?php the_title(); ?> | |
Cat name: <?php the_category(', ') ?> | |
Content: <?php the_content();?> | |
<?php endwhile;?> | |
</div> | |
<div id="sidebar" class="grid_4 omega"> | |
<?php get_sidebar(); ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment