Advertisement
Guest User

Untitled

a guest
Dec 12th, 2011
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying Category Archive pages.
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Ten
  7. * @since Twenty Ten 1.0
  8. */
  9.  
  10. get_header(); ?>
  11.  
  12. <div id="container">
  13. <div id="content" role="main">
  14.  
  15. <div id="gs-title">
  16. <h1 class="entry-title"><?php
  17. printf( __( '%s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
  18. ?></h1>
  19. <?php
  20. $category_description = category_description();
  21. if ( ! empty( $category_description ) )
  22. echo '<div class="archive-meta">' . $category_description . '</div>';?>
  23. </div>
  24. <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
  25. <div class="grantsscholarship-post">
  26. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  27. <div class="grandsscholarship-title">
  28. <h4 class="grantsscholarship"><?php the_title() ?></h4>
  29. </div><!-- .proshop-post-title -->
  30. <div class="entry-content-gs">
  31. <?php the_content() ?>
  32. <div class="clear"></div>
  33. </div>
  34. </div>
  35. </div><!---proshop-blog--->
  36. <?php endwhile; ?>
  37. <?php else : ?>
  38. <p class="no-posts"><?php _e('Sorry, no posts matched your criteria', 'example'); ?></p>
  39. <?php endif; ?>
  40. <div style="text-align:center;">
  41. <?php posts_nav_link(' &#183; ', '< Previous page of posts', 'Next page of posts >'); ?>
  42. </div>
  43.  
  44. </div><!-- #content -->
  45. </div><!-- #container -->
  46.  
  47. <?php get_sidebar(); ?>
  48. <?php get_footer(); ?>
  49.  
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement