Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Charitable Giving
- */
- ?>
- <?php get_header(); ?>
- <?php global $woo_options; ?>
- <!-- #content Starts -->
- <?php woo_content_before(); ?>
- <div id="content" class="col-full">
- <div id="main-sidebar-container">
- <!-- #main Starts -->
- <?php woo_main_before(); ?>
- <div id="main">
- <h1 class="title"><?php the_title(); ?></h1>
- <?php the_content(); ?>
- <div class="h-line"><hr /></div>
- <?php woo_loop_before(); ?>
- <br />
- <?php
- // WP 3.0 PAGED BUG FIX
- if ( get_query_var('paged') )
- $paged = get_query_var('paged');
- elseif ( get_query_var('page') )
- $paged = get_query_var('page');
- else
- $paged = 1;
- //$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
- query_posts("cat=96&showposts=10&paged=$paged");
- ?>
- <?php if (have_posts()) : $count = 0; ?>
- <?php while (have_posts()) : the_post(); $count++; ?>
- <!-- Post Starts -->
- <?php woo_post_before(); ?>
- <div <?php post_class(); ?>>
- <?php woo_post_inside_before(); ?>
- <?php woo_image('width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); ?>
- <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <?php woo_post_meta(); ?>
- <div class="entry">
- <?php global $more; $more = 0; ?>
- <?php the_excerpt_reloaded(70, '<p><br /><ul><li>', 'content', TRUE, 'Keep reading', FALSE, 2); ?>
- </div>
- <div class="h-line"><hr /></div>
- <?php woo_post_inside_after(); ?>
- </div><!-- /.post -->
- <?php woo_post_after(); ?>
- <?php endwhile; else: ?>
- <div class="post">
- <p><?php _e('There are not any posts at this time. Check back with us soon.', 'woothemes') ?></p>
- </div><!-- /.post -->
- <?php endif; ?>
- <?php woo_pagenav(); ?>
- </div><!-- /#main -->
- <?php woo_main_after(); ?>
- <?php get_sidebar(); ?>
- </div><!-- /#main-sidebar-container -->
- <?php get_sidebar('alt'); ?>
- </div><!-- /#content -->
- <?php woo_content_after(); ?>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment