~canonical-sysadmins/wordpress/wp-theme-ubuntustudio-wp

« back to all changes in this revision

Viewing changes to ubuntustudio-wp/tpl_blog.php

  • Committer: Pasi Lallinaho
  • Date: 2012-03-06 09:49:51 UTC
  • Revision ID: pasi@shimmerproject.org-20120306094951-vyosk8dtkd6jcvas
Initial commit for the new Ubuntu Studio website.
This repository contains content that can be copied directly to the wp-content/themes/ directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?
 
2
/*
 
3
 *  Template Name: Blog front page
 
4
 *
 
5
 */
 
6
?>
 
7
 
 
8
<?php get_header( ); ?>
 
9
 
 
10
<div id="page" class="group">
 
11
        <div id="sidebar">
 
12
                <?php if( function_exists( 'dynamic_sidebar' ) ) {
 
13
                        dynamic_sidebar( "sidebar_main" );
 
14
                } ?>
 
15
        </div>
 
16
 
 
17
        <div id="main">
 
18
                <?php
 
19
                        query_posts( array(
 
20
                                'category_name' => 'blog',
 
21
                                'orderby' => 'date',
 
22
                                'order' => 'DESC'
 
23
                        ) );
 
24
                        get_template_part( 'content', 'excerpts' );
 
25
                ?>
 
26
        </div>
 
27
</div>
 
28
 
 
29
<?php get_footer( ); ?>