Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( is_home() ) :
- global $wp_query;
- query_posts( array_merge( $wp_query->query,
- array( 'cat' => 26 ) )
- );
- endif; ?>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <h2 class="title"><?php the_title(); ?></h2>
- <div class="meta">
- Posted by <?php the_author(); ?> in <?php the_category(', ') ?>
- <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »', 'comm'); ?>
- </div>
- <div class="entry">
- <?php if ( function_exists( 'get_the_image' ) ) {
- get_the_image( array( 'custom_key' => array( 'post_thumbnail' ), 'default_size' => 'full', 'image_class' => 'alignleft', 'width' => '223', 'height' => '166' ) ); }
- ?>
- <?php the_content(''); ?>
- </div>
- </div>
- <?php endwhile; ?>
- <div class="navigation">
- <?php
- include('includes/wp-pagenavi.php');
- if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
- ?>
- </div>
- <?php else : ?>
- <h2 class="center">Not Found</h2>
- <p class="center">Sorry, but you are looking for something that isn't here.</p>
- <?php get_search_form(); ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement