Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); ?>
- <?php query_posts(array( 'post_type'=>'photogallery', 'location'=>$term->slug)); ?>
- <?php global $woo_options_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" class="col-left">
- <?php woo_loop_before(); ?>
- <?php if (have_posts()) : $count = 0; ?>
- <div class="fix"></div>
- <h1><?php printf( __( 'Photogalleries in Category: %s', 'custom-canvas' ), '<span>' . $term->name . '</span>' ); ?></h1><br>
- <strong>Description:</strong><?php echo term_description( '', get_query_var( 'gallerycategories' ) ); ?>
- <?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>
- <div class="entry">
- <?php the_excerpt(); ?>
- </div><!-- /.entry -->
- <?php woo_post_inside_after(); ?>
- </div><!-- /.post -->
- <?php woo_post_after(); ?>
- <?php endwhile; else: ?>
- <div class="post">
- <p><?php _e('Sorry, no posts matched your criteria.', '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(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement