Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Blog_Artwork
- */
- ?>
- <?php get_header(); ?>
- <div id="wrapper" class="clearfix">
- <div id="page" class="container_16 clearfix " >
- <div id="content" class="grid_11 clearfix fr alter_content">
- <div class="content-blog-div">
- <?php $wp_query->query('showposts=10&cat=52'.'&paged='.$paged);
- while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
- <div class="date">
- <span class="day"><?php the_time('j');?></span>
- <span class="month"><?php the_time('M');?></span>
- </div>
- <h1 class="head"><?php the_title(); ?></h1>
- <?php /*?><p class="date">
- <span class="day"><?php the_time('j');?></span>
- <span class="month"><?php the_time('M');?></span>
- </p><?php */?>
- <?php the_content(); ?>
- <div class="post-meta">
- <ul>
- <li class="comments">
- <span class="head">Comments</span>
- <span class="body"><?php wp_list_comments(); ?></span>
- </li>
- <li class="categories">
- <span class="head">Categories</span>
- <span class="body"><?php $category = get_the_category(); echo $category[0]->cat_name; ?></span>
- </li>
- <li class="author">
- <span class="head">Author</span>
- <span class="body"><?php the_author() ?></span>
- </li>
- </ul>
- <div class="fix"></div>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- <div id="sidebar" class="front_sidebar_left">
- <?php if ( function_exists('dynamic_sidebar') && (is_sidebar_active(14)) ) { // Show on the front page ?>
- <?php dynamic_sidebar('Front Page Sidebar'); ?>
- <?php } ?>
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement