<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: iframe - full content width
 *
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('iframe');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('iframe');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('page', 'container-pageiframe');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Category Archive pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('category', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('category');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('category', 'container-category');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
Exemple #3
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * An alternate template for displaying 404 pages (Not Found).
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('404', true);
get_template_part('infobar');
// only option on 404 is at top, so just do it
echo "\t<div id=\"main\">\n";
?>
<div id="container_wrap"<?php 
weaverii_get_page_class('404', 'container-404');
?>
>
    <div id="container">
	<div id="content" role="main">

	<article id="post-0" class="post error404 not-found">

	    <header class="entry-header">
		<h1 class="entry-title">Sorry - Page Not Found</h1>
	    </header>
Exemple #4
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Author Archive pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('author');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('author');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('author', 'container-author');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
Exemple #5
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: HTML Source
 *
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('html_source');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('html_source');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('page', 'container-pagehtml');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
Exemple #6
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Author Archive pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('author', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('author');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('author', 'container-author');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
Exemple #7
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: Blank
 *
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('page-blank');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('page-blank');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('page', 'container-pageblank');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
Exemple #8
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Search Results pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 *
 * changed 1.0.25 - paged navi doesn't work right on multipage search result, so skip infobar and force prev/next
 */
weaverii_get_header('search', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('search');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('search', 'container-search');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #9
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying image attachments.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('image', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('image');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('image', 'container-image');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
Exemple #10
0
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Archive pages.
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('archive');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('archive');
?>
	<div id="container_wrap"<?php 
weaverii_get_page_class('archive', 'container-archive');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #11
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Search Results pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 *
 * changed 1.0.25 - paged navi doesn't work right on multipage search result, so skip infobar and force prev/next
 */
weaverii_get_header('search');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('search');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('search', 'container-search');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #12
0
    exit;
}
// Exit if accessed directly
/**
 * Template Name: Page With Posts
 * Description: A Page Template that will show posts - pretty much like index
 *
 * inject-infobar won't work right on the page-navi until we restart the loop, so...
 *
 * We create the breadcrumbs part for the page.
 * We buffer the output from the inject-prmain up to the end of the page content
 * We create the page-navi part of the infobar after we restart the loop
 * Then output the infobar with the page breadcrumbs and the posts page-navi and the page buffer
 * Finally, start the new loop.
 */
weaverii_get_header('pwp');
// build infobar front part - replace get_template_part('infobar'); with local code
// we need to build it in a buffer
global $weaverii_crumbs;
$weaverii_crumbs = false;
// this is ugly, I know, but it lets us keep keep the inject-info in just one code base
if (!weaverii_getopt_checked('wii_infobar_hide') && !weaverii_is_checked_page_opt('wvr-hide-page-infobar')) {
    // let's really not include it rather than display:none.
    if (!weaverii_getopt_checked('wii_info_hide_breadcrumbs')) {
        $weaverii_crumbs = weaverii_breadcrumb(false);
    }
}
ob_start();
// now build the page part of the PwP
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
Exemple #13
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Category Archive pages.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('category');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('category');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('category', 'container-category');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
Exemple #14
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying image attachments.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('image');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('image');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('image', 'container-image');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
    exit;
}
// Exit if accessed directly
/**
 * Template Name: 2 Col Content (split w/ &lt;!--more--&gt;).
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('page');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('page');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('page', 'container-page2col');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #16
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template used to display Tag Archive pages
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('tag');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('tag');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('tag', 'container-tag');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: Sitemap
 *
 */
weaverii_get_header('sitemap');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('sitemap');
?>
	<div id="container_wrap"<?php 
weaverii_get_page_class('sitemap', 'container-sitemap');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
Exemple #18
0
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying Archive pages.
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('archive', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('archive');
?>
	<div id="container_wrap"<?php 
weaverii_get_page_class('archive', 'container-archive');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: Sitemap
 *
 */
weaverii_get_header('sitemap', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('sitemap');
?>
	<div id="container_wrap"<?php 
weaverii_get_page_class('sitemap', 'container-sitemap');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The Template for displaying all single Speaker post types.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('single');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
global $weaverii_cur_post_id;
$weaverii_cur_post_id = get_the_ID();
weaverii_get_sidebar_left('single');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('single', 'container-single');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #21
0
    exit;
}
// Exit if accessed directly
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Weaver II
 */
weaverii_get_header('index');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('index');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('index', 'container-index');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
Exemple #22
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Template Name: Raw
 *
 * A custom page template for raw HTML - no sidebars, no header, no footer, no styling, no title, no comments -
 * just the raw content - no texturize, etc., but it does do shortcodes
 * It gets all styling using the per page head insert code
 *
 * The "Template Name:" bit above allows this to be selectable
 * from a dropdown menu on the edit page screen.
 */
weaverii_get_header('raw');
weaverii_trace_template(__FILE__);
?>
<!-- This page formatted using Weaver II Raw Page Template -->
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    echo do_shortcode(get_the_content());
}
weaverii_get_footer('raw');
Exemple #23
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('404');
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('404');
// mimic search
?>
	<div id="container_wrap"<?php 
weaverii_get_page_class('404', 'container-404');
?>
>
	<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
?>
Exemple #24
0
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The template used to display Tag Archive pages
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
weaverii_get_header('tag', true);
if (weaverii_getopt('wii_infobar_location') == 'top') {
    get_template_part('infobar');
}
weaverii_inject_area('premain');
echo "\t<div id=\"main\">\n";
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('tag');
?>
		<div id="container_wrap"<?php 
weaverii_get_page_class('tag', 'container-tag');
?>
>
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');