Пример #1
0
					</div>

					<?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');
Пример #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');
Пример #3
0
    while (have_posts()) {
        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');
Пример #4
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('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');
Пример #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');
Пример #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');
Пример #7
0
}
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');
Пример #8
0
<!—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');
Пример #9
0
    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');
    ?>

			<?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');
Пример #10
0
    weaverii_masonry('begin-posts');
    /* 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');
Пример #11
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');
Пример #12
0
    if (!weaverii_getopt('_wii_hide_not_found_search')) {
        ?>

					<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');
Пример #13
0
                weaverii_masonry('end-post');
            }
        }
    }
    // 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');
Пример #14
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');