Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Template for displaying a category page.
- */
- ?>
- <?php get_header(); ?>
- <div class="content_resize">
- <div class="product_cont">
- <?php include "solarpath-menu.php" ; ?>
- </div><div class="container">
- <h2><?php single_cat_title(); ?></h2>
- <div class="product_text">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <h2><?php the_title(); ?></h2>
- <?php the_content(); ?>
- </div>
- <div class="product_img">
- <?php the_post_thumbnail( 'full' ); ?>
- </div>
- <div class="clr"></div>
- <div class="product_foot">
- <p>More images</p>
- <?php //echo file_gallery_shortcode( array('mimetype' => 'image/jpeg', 'order' => 'ASC', 'orderby' => 'date', 'columns' => 5, 'size' => 'thumbnail', 'link' => 'attachment', 'template' => 'default')); ?>
- <?php echo do_shortcode('[gallery link="attachment" columns="5" order="DESC"]'); ?>
- <div class="clr"></div><p></p>
- <h3><dl class="attachments"><?php echo get_attachment_icons(); ?></dl></h3>
- <div class="clr"></div>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- </div></div></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement