Beispiel #1
0
					<?php 
    if (weaverii_use_mobile('mobile')) {
        echo '<div class="wvr-clear-block">&nbsp;</div>';
    }
    /* translators: %1$s: smilie */
    $archive_content = '<p>' . sprintf(__('Try looking in the monthly archives. %1$s', 'weaver-ii'), convert_smilies(':)')) . '</p>';
    the_widget('WP_Widget_Archives', array('count' => 0, 'dropdown' => 1), array('after_title' => '</h2>' . $archive_content));
    if (weaverii_use_mobile('mobile')) {
        echo '<div class="wvr-clear-block">&nbsp;</div>';
    }
    ?>

					<?php 
    the_widget('WP_Widget_Tag_Cloud');
    ?>

				</div><!-- .entry-content -->
<?php 
}
// don't show not found message
?>
			</article><!-- #post-0 -->
		</div><!-- #content -->
	</div><!-- #container -->
	</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('404');
weaverii_get_footer('404');
Beispiel #2
0
                        $sticky_one = false;
                        break;
                    default:
                        get_template_part('content', get_post_format());
                        $sticky_one = false;
                }
                // end switch num cols
                weaverii_masonry('end-post');
            }
        }
        /* end first one col */
    }
    // end while have posts
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
} else {
    weaver_not_found_search(__FILE__);
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('index');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('index');
weaverii_get_footer('index');
Beispiel #3
0
        the_post();
        weaverii_post_count_bump();
        weaverii_masonry('begin-post');
        /* 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.
         */
        get_template_part('content', get_post_format());
        weaverii_masonry('end-post');
    }
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
    ?>

			<?php 
} else {
    weaver_not_found_search(__FILE__);
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('author');
?>
		</section><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('author');
weaverii_get_footer('author');
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
weaverii_get_sidebar_top('sitemap');
?>

		<div id="content" role="main">
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    get_template_part('content', 'sitemap');
    comments_template('', true);
}
?>
		</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('sitemap');
?>
		</div><!-- #container -->
	</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('sitemap');
weaverii_get_footer('sitemap');
Beispiel #5
0
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
weaverii_get_sidebar_top('page');
?>

			<div id="content" role="main">
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    get_template_part('content', 'blank');
    comments_template('', true);
}
?>
			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('page-blank');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('page-blank');
weaverii_get_footer('page-blank');
Beispiel #6
0
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container" class="page-iframe">
<?php 
weaverii_get_sidebar_top('iframe');
?>

			<div id="content" role="main">
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    get_template_part('content', 'page');
    comments_template('', true);
}
?>
			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('iframe');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('iframe');
weaverii_get_footer('iframe');
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
weaverii_get_sidebar_top('page');
?>

			<div id="content" role="main">
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    if (weaverii_use_mobile('mobile')) {
        get_template_part('content', 'page');
    } else {
        get_template_part('content', 'page2col');
    }
    comments_template('', true);
}
?>
			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('page');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('page');
weaverii_get_footer('page');
Beispiel #8
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');
Beispiel #9
0
        the_post();
        weaverii_masonry('begin-post');
        weaverii_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.
         */
        get_template_part('content', get_post_format());
        weaverii_masonry('end-post');
    }
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
    ?>

			<?php 
} else {
    weaver_not_found_search(__FILE__);
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('category');
?>
		</section><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('category');
weaverii_get_footer('category');
Beispiel #10
0
    /* Start the Loop */
    weaverii_post_count_clear();
    while (have_posts()) {
        the_post();
        weaverii_masonry('begin-post');
        weaverii_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.
         */
        get_template_part('content', get_post_format());
        weaverii_masonry('end-post');
    }
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
} else {
    weaver_not_found_search(__FILE__);
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('archive');
?>
		</section><!-- #container -->
	</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('archive');
weaverii_get_footer('archive');
<!—Displays the last date modified, more useful here than date created.—>
<p>Last Updated: <?php 
    the_modified_date();
    ?>
</p>

</div>
<!— *** End Speaker Profile Template *** —>

				

<?php 
    comments_template('', true);
    ?>

<?php 
}
// end of the loop.
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('single');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('single');
weaverii_get_footer('single');
Beispiel #12
0
        weaverii_masonry('begin-post');
        get_template_part('content', get_post_format());
        weaverii_masonry('end-post');
        ?>

				<?php 
    }
    ?>

				<?php 
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
    ?>

			<?php 
} else {
    weaver_not_found_search(__FILE__);
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('tag');
?>
		</section><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('tag');
weaverii_get_footer('tag');
Beispiel #13
0
				<h3 class="assistive-text"><?php 
echo __('Image navigation', 'weaver-ii');
?>
</h3>
				<span class="nav-previous"><?php 
previous_image_link(false, __('&larr; Previous', 'weaver-ii'));
?>
</span>
				<span class="nav-next"><?php 
next_image_link(false, __('Next &rarr;', 'weaver-ii'));
?>
</span>
			</nav><!-- #nav-below -->

				<?php 
if (weaverii_getopt_checked('wii_allow_attachment_comments')) {
    comments_template();
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('image');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('image');
weaverii_get_footer('image');
Beispiel #14
0
        ?>

					<div class="entry-content">
						<p><?php 
        echo __('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'weaver-ii');
        ?>
</p>
						<?php 
        get_search_form();
        ?>
					</div><!-- .entry-content -->
<?php 
    }
    ?>
				</article><!-- #post-0 -->

			<?php 
}
?>

			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('search');
?>
		</section><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('search');
weaverii_get_footer('search');
Beispiel #15
0
            }
        }
    }
    // end while have posts
    weaverii_masonry('end-posts');
    weaverii_content_nav('nav-below');
} else {
    weaver_not_found_search(__FILE__);
}
// every thing done, so allow comments?
if (weaverii_getopt('wii_pwp_comments')) {
    if ($pwp_comments != '') {
        echo $pwp_comments;
    }
}
?>

		</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('pwp');
$wp_query = $old_query;
wp_reset_postdata();
// need these so extra-menus work in rightsidebar and footer
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('pwp');
weaverii_get_footer('pwp');
Beispiel #16
0
<?php 
if (weaverii_getopt('wii_infobar_location') == 'content') {
    get_template_part('infobar');
}
weaverii_inject_area('precontent');
?>
		<div id="container">
<?php 
weaverii_get_sidebar_top('html_source');
?>

			<div id="content" role="main">
<?php 
while (have_posts()) {
    weaverii_post_count_clear();
    the_post();
    get_template_part('content', 'html');
    comments_template('', true);
}
?>
			</div><!-- #content -->
<?php 
weaverii_get_sidebar_bottom('html_source');
?>
		</div><!-- #container -->
		</div><!-- #container_wrap -->

<?php 
weaverii_get_sidebar_right('html_source');
weaverii_get_footer('html_source');