<?php if (!defined('ABSPATH')) { exit; } // Exit if accessed directly /** * Template Name: Blank * */ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('page-blank'); // and next the content area. weaverx_sb_precontent('page-blank'); // generate page content while (have_posts()) { weaverx_post_count_clear(); the_post(); get_template_part('templates/content', 'blank'); comments_template('', true); } weaverx_sb_postcontent('page-blank'); weaverx_page_tail('page-blank', $sb_layout); // end of page wrap
<?php if (!defined('ABSPATH')) { exit; } // Exit if accessed directly /** * Template Name: Sitemap */ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('sitemap'); // and next the content area. weaverx_sb_precontent('sitemap'); // generate page content while (have_posts()) { weaverx_post_count_clear(); the_post(); get_template_part('templates/content', 'sitemap'); comments_template('', true); } weaverx_sb_postcontent('sitemap'); weaverx_page_tail('sitemap', $sb_layout); // end of page wrap
<?php if (!defined('ABSPATH')) { exit; } // Exit if accessed directly /** * Template Name: iframe - full content width */ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('page'); // and next the content area. weaverx_sb_precontent('iframe'); // generate page content while (have_posts()) { weaverx_post_count_clear(); the_post(); get_template_part('templates/content', 'page'); comments_template('', true); } weaverx_sb_postcontent('iframe'); weaverx_page_tail('iframe', $sb_layout); // end of page wrap
<?php if (!defined('ABSPATH')) { exit; } // Exit if accessed directly /** * Woo Commerce Page Template */ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('woocommerce'); // and next the content area. weaverx_sb_precontent('page'); // generate page content if (function_exists('woocommerce_content')) { woocommerce_content(); } else { while (have_posts()) { weaverx_post_count_clear(); the_post(); get_template_part('templates/content', 'page'); comments_template('', true); } } weaverx_sb_postcontent('page'); weaverx_page_tail('page', $sb_layout); // end of page wrap
get_template_part('templates/content', get_post_format()); echo "</div> <!-- content-2-col -->\n"; $sticky_one = false; break; case 3: $col++; echo '<div class="content-3-col">' . "\n"; get_template_part('templates/content', get_post_format()); 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 first one col */ } // end while have posts weaverx_masonry('end-posts'); echo "</div>\n"; weaverx_content_nav('nav-below'); } else { weaverx_not_found_search(__FILE__); } weaverx_sb_postcontent('blog'); weaverx_page_tail('blog', $sb_layout); // end of page wrap
<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')) { ?> <div class="entry-content clearfix"> <p><?php echo __('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'weaver-xtreme'); ?> </p> <?php get_search_form(); ?> </div><!-- .entry-content --> <?php } ?> </article><!-- #post-0 --> <?php } weaverx_sb_postcontent('search'); weaverx_page_tail('search', $sb_layout); // end of page wrap
* properly with a call to rewind_posts(). */ the_post(); $msg = apply_filters('weaverx_author_archives', __('Author Archives: %s', 'weaver-xtreme')); $title = '<span class="author-title-label">' . sprintf($msg, '</span><span class="vcard archive-info"><a class="url fn n" href="' . esc_url(get_author_posts_url(get_the_author_meta("ID"))) . '" title="' . esc_attr(get_the_author()) . '" rel="me">' . get_the_author() . '</a></span>'); ?> <header class="page-header archive-title"> <?php weaverx_archive_title($title, 'author', ' author'); ?> </header> <?php /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); weaverx_content_nav('nav-above'); weaverx_author_info(); /* The Loop */ weaverx_archive_loop('author'); weaverx_content_nav('nav-below'); } else { weaverx_not_found_search(__FILE__); } weaverx_sb_postcontent('author'); weaverx_page_tail('author', $sb_layout); // end of page wrap
if (is_tax()) { // these improve presentation of custom tax titles $archive = single_term_title('', false); } else { $archive = post_type_archive_title('', false); } } } } ?> <header class="page-header"> <?php weaverx_archive_title($archive, 'archive'); $term_description = term_description(); if (!empty($term_description)) { echo apply_filters('taxonomy_archive_meta', '<div class="tax-archive-meta">' . $term_description . '</div>'); } ?> </header> <?php weaverx_content_nav('nav-above'); /* The Loop */ weaverx_archive_loop('archive'); weaverx_content_nav('nav-below'); } else { weaverx_not_found_search(__FILE__); } weaverx_sb_postcontent('archive'); weaverx_page_tail('archive', $sb_layout); // end of page wrap
*/ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('tag', true); // and next the content area. weaverx_sb_precontent('tag'); if (have_posts()) { ?> <header class="page-header"> <?php $tt = apply_filters('weaverx_tag_archives', __('Tag Archives: %s', 'weaver-xtreme')); $title = '<span class="title-tag-label">' . sprintf($tt, '</span><span class="archive-info">' . single_tag_title('', false) . '</span>'); weaverx_archive_title($title, 'tag'); $tag_description = tag_description(); if (!empty($tag_description)) { echo apply_filters('tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>'); } ?> </header> <?php weaverx_content_nav('nav-above'); /* The Loop */ weaverx_archive_loop('tag'); weaverx_content_nav('nav-below'); } else { weaverx_not_found_search(__FILE__); } weaverx_sb_postcontent('tag'); weaverx_page_tail('tag', $sb_layout); // end of page wrap
the_widget('WP_Widget_Recent_Posts', array('number' => 10), array('widget_id' => '404')); ?> <div class="widget"> <h2 class="widgettitle"><?php echo __('Most Used Categories', 'weaver-xtreme'); ?> </h2> <ul> <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?> </ul> </div> <?php /* translators: %1$s: smilie */ $archive_content = '<p>' . sprintf(__('Try looking in the monthly archives. %1$s', 'weaver-xtreme'), convert_smilies(':)')) . '</p>'; the_widget('WP_Widget_Archives', array('count' => 0, 'dropdown' => 1), array('after_title' => '</h2>' . $archive_content)); the_widget('WP_Widget_Tag_Cloud'); ?> </div><!-- .entry-content --> <?php } // don't show not found message ?> </article><!-- #post-0 --> <?php weaverx_page_tail('404', $sb_layout); // end of page wrap
<div class="nav-previous"><?php previous_post_link('%link', __('<span class="meta-nav">←</span> Previous', 'weaver-xtreme'), $cats); ?> </div> <div class="nav-next"><?php next_post_link('%link', __('Next <span class="meta-nav">→</span>', 'weaver-xtreme'), $cats); ?> </div> <?php } else { ?> <div class="nav-previous"><?php previous_post_link('%link', '<span class="meta-nav">' . _x('←', 'Previous post link', 'weaver-xtreme') . '</span> %title', weaverx_getopt_checked('single_nav_link_cats')); ?> </div> <div class="nav-next"><?php next_post_link('%link', '%title <span class="meta-nav">' . _x('→', 'Next post link', 'weaver-xtreme') . '</span>', $cats); ?> </div> <?php } ?> </nav><!-- #nav-above --> <?php comments_template('', true); } // end of the loop. weaverx_sb_postcontent('single'); weaverx_page_tail('single', $sb_layout); // end of page wrap
*/ /*! ** DO NOT EDIT THIS FILE! It will be overwritten when the theme is updated! ** */ $sb_layout = weaverx_page_lead('category', true); // and next the content area. weaverx_sb_precontent('category'); if (have_posts()) { $msg = apply_filters('weaverx_category_archives', __('Category Archives: %s', 'weaver-xtreme')); $title = '<span class="category-title-label">' . sprintf($msg, '</span><span class="archive-info">' . single_cat_title('', false) . '</span>'); ?> <header class="page-header"> <?php weaverx_archive_title($title, 'category'); $category_description = category_description(); if (!empty($category_description)) { echo apply_filters('category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>'); } ?> </header> <?php weaverx_content_nav('nav-above'); /* The Loop */ weaverx_archive_loop('category'); weaverx_content_nav('nav-below'); } else { weaverx_not_found_search(__FILE__); } weaverx_sb_postcontent('category'); weaverx_page_tail('category', $sb_layout); // end of page wrap