-
-
Save jchristopher/155b88413dd140c5243b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @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: | |
* http://www.gnu.org/licenses/gpl-3.0.txt | |
*/ | |
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"> | |
<ul> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<li class="post-item"> | |
<?php echo twoot_generator( 'load_template', 'loop-search' ); ?> | |
</li> | |
<?php endwhile; ?> | |
</ul> | |
<?php echo twoot_generator('pagination', $wp_query); ?> | |
<?php wp_reset_postdata(); ?> | |
</div> | |
<?php else : ?> | |
<div class="the-not-posts"><?php esc_attr_e('Sorry, there is no posts in for your query.', 'Twoot'); ?></div> | |
<?php endif; ?> | |
</div> | |
</article> | |
<!--end #primary--> | |
<?php echo twoot_generator('sidebar', 'search', 'right'); ?> | |
</div> | |
<!--end #content--> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment