Advertisement
Guest User

PHp4Pages

a guest
Jul 28th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  
  5. Template Name: Blog_Artwork
  6. */
  7.  
  8. ?>
  9.  
  10. <?php get_header(); ?>
  11. <div id="wrapper" class="clearfix">
  12. <div id="page" class="container_16 clearfix " >
  13. <div id="content" class="grid_11 clearfix fr alter_content">
  14. <div class="content-blog-div">
  15. <?php $wp_query->query('showposts=10&cat=52'.'&paged='.$paged);
  16. while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
  17. <div class="date">
  18. <span class="day"><?php the_time('j');?></span>
  19. <span class="month"><?php the_time('M');?></span>
  20. </div>
  21. <h1 class="head"><?php the_title(); ?></h1>
  22. <?php /*?><p class="date">
  23. <span class="day"><?php the_time('j');?></span>
  24. <span class="month"><?php the_time('M');?></span>
  25. </p><?php */?>
  26. <?php the_content(); ?>
  27. <div class="post-meta">
  28. <ul>
  29. <li class="comments">
  30. <span class="head">Comments</span>
  31. <span class="body"><?php wp_list_comments(); ?></span>
  32. </li>
  33. <li class="categories">
  34. <span class="head">Categories</span>
  35. <span class="body"><?php $category = get_the_category(); echo $category[0]->cat_name; ?></span>
  36. </li>
  37. <li class="author">
  38. <span class="head">Author</span>
  39. <span class="body"><?php the_author() ?></span>
  40. </li>
  41. </ul>
  42. <div class="fix"></div>
  43. </div>
  44.  
  45. <?php endwhile; ?>
  46. </div>
  47.  
  48.  
  49.  
  50.  
  51.  
  52. </div>
  53.  
  54. <div id="sidebar" class="front_sidebar_left">
  55. <?php if ( function_exists('dynamic_sidebar') && (is_sidebar_active(14)) ) { // Show on the front page ?>
  56. <?php dynamic_sidebar('Front Page Sidebar'); ?>
  57. <?php } ?>
  58. </div>
  59.  
  60.  
  61.  
  62.  
  63.  
  64. </div>
  65. </div>
  66. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement