Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @package WordPress
* @subpackage ThemeWoot
* @author ThemeWoot Team
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
global $wp_query;
<?php get_header(); ?>
<?php echo twoot_generator('page_title', 'archive'); ?>
<div class="site-content container pt pb clearfix">
<article id="primary-wrapper" class="column eight">
<div class="inner">
<?php if ( have_posts() ) : ?>
<div class="post-search">
<?php while ( have_posts() ) : the_post(); ?>
<li class="post-item">
<?php echo twoot_generator( 'load_template', 'loop-search' ); ?>
<?php endwhile; ?>
<?php echo twoot_generator('pagination', $wp_query); ?>
<?php wp_reset_postdata(); ?>
<?php else : ?>
<div class="the-not-posts"><?php esc_attr_e('Sorry, there is no posts in for your query.', 'Twoot'); ?></div>
<?php endif; ?>
<!--end #primary-->
<?php echo twoot_generator('sidebar', 'search', 'right'); ?>
<!--end #content-->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.