Пример #1
0
					<?php 
        }
        ?>

					<?php 
        nice_excerpt();
        ?>

                </article>

		<?php 
    }
    ?>

        <?php 
    nice_pagenavi();
    ?>

<?php 
} else {
    ?>

	<?php 
    _e('Sorry, no posts matched your criteria.', 'nicethemes');
    ?>

<?php 
}
?>

<!-- END #content -->
					<header>
						<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __( 'Permanent Link to %s', 'nicethemes' ), get_the_title() ); ?>"><?php the_title(); ?></a></h2>
					</header>


					<div class="post-content">
							<?php nice_excerpt(); ?>
					</div>

				<!-- END .post -->
				</article>

		<?php endwhile; ?>

		<?php nice_pagenavi(); ?>

<?php else : ?>

			<?php _e( 'Sorry, no posts matched your criteria.', 'nicethemes' ); ?>

<?php endif; ?>

<!-- END #content -->
</section>

<!-- BEGIN #sidebar -->
<aside id="sidebar" role="complementary">
	<?php dynamic_sidebar( 'knowledgebase' ); ?>
<!-- END #sidebar -->
</aside>