Advertisement
Guest User

Untitled

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