$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'); ?> <div class="clear-container-end" style="clear:both"></div></div><!-- /#container --> <?php weaverx_get_footer('blog');
function weaverx_page_tail($who, $sb_layout) { echo "\n</div><!-- /#content -->\n"; // do not clear:both! weaverx_sidebar_after($sb_layout, $who); // sidebars after content echo "\n<div class='clear-container-end' style='clear:both;'></div></div><!-- /#container -->\n"; weaverx_get_footer($who); }
// Exit if accessed directly /** * Template Name: Raw * */ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $GLOBALS['weaverx_page_who'] = 'raw'; $GLOBALS['weaverx_page_is_archive'] = false; get_header('raw'); // no #container or #content wrappers, and no sidebars or injection ?> <!-- This page formatted using Weaver Xtreme Raw Page Template --> <div id="page-raw" class="page-raw-<?php the_ID(); ?> "> <?php do_action('weaverx_per_page'); // generate page content while (have_posts()) { weaverx_post_count_clear(); the_post(); get_template_part('templates/content', 'blank'); // content output same as 'blank' template comments_template('', true); } ?> </div> <!-- #page-raw --> <?php weaverx_get_footer('raw');