echo "</div> <!-- content-3-col -->\n";
                        $sticky_one = false;
                        break;
                    default:
                        get_template_part('templates/content', get_post_format());
                        $sticky_one = false;
                }
                // end switch $num_cols
                weaverx_masonry('end-post');
            }
        }
    }
    // end while have posts
    weaverx_masonry('end-posts');
    echo "</div>\n";
    weaverx_content_nav('nav-below');
} else {
    weaverx_not_found_search(__FILE__);
}
// every thing done, so allow comments?
// comments_template( '', true );
weaverx_sb_postcontent('blog');
?>

		</div><!-- #content -->
<?php 
//$wp_query = $old_query;
wp_reset_query();
wp_reset_postdata();
// need these so extra-menus work in rightsidebar and footer
weaverx_sidebar_after($sb_layout, 'blog');
    /* Start the Loop */
    weaverx_post_count_clear();
    weaverx_masonry('begin-posts');
    while (have_posts()) {
        the_post();
        weaverx_post_count_bump();
        /* Include the Post-Format-specific template for the content.
         * If you want to overload this in a child theme then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        weaverx_masonry('begin-post');
        get_template_part('templates/content', get_post_format());
        weaverx_masonry('end-post');
    }
    weaverx_masonry('end-posts');
    weaverx_content_nav('nav-below', true);
} else {
    ?>

	<article id="post-0" class="post no-results not-found">
		<header class="entry-header">
			<h1 class="page-title content-title title-search"><?php 
    echo __('Nothing Found', 'weaver-xtreme');
    ?>
</h1>
		</header><!-- .entry-header -->

		<?php 
    if (!weaverx_getopt('_hide_not_found_search')) {
        ?>