Ejemplo n.º 1
0
    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');
?>
		<section id="container">
<?php 
weaverii_get_sidebar_top('author');
?>
			<div id="content" role="main">

			<?php 
if (have_posts()) {
    ?>

				<?php 
    /* Queue the first post, that way we know
     * what author we're dealing with (if that is the case).
     *
Ejemplo n.º 2
0
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The Left Sidebar - all in one column
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
?>
	<div id="sidebar_wrap_left" class="left-1-col equal_height">
<?php 
weaverii_trace_sidebar(__FILE__);
weaverii_inject_area('presidebar_left');
weaverii_show_primary_sidebar();
// show default primary widget area
// Upper/Right -----------------------
if (!weaverii_is_checked_page_opt('hide_sidebar_right') && !weaverii_replace_right()) {
    // The Lower/right Widget Area
    if (is_active_sidebar('right-widget-area')) {
        ?>
        <div id="sidebar_right" class="widget-area" role="complementary">
<?php 
        dynamic_sidebar('right-widget-area');
        ?>
        </div><!-- #sidebar_right .widget-area -->
<?php 
    }
}
Ejemplo n.º 3
0
		</div><!-- .entry-summary -->
<?php 
    } else {
        ?>
		<div class="entry-content cf">
<?php 
        weaverii_the_contnt_featured();
        wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'weaver-ii') . '</span>', 'after' => '</div>'));
        ?>
		</div><!-- .entry-content -->
<?php 
    }
    ?>

		<footer class="entry-utility">
<?php 
    weaverii_post_bottom_info();
    weaverii_compact_link('check');
    ?>
		</footer><!-- #entry-utility -->
<?php 
    weaverii_inject_area('postpostcontent');
    // inject post comment body
}
// regular post
?>
	</article><!-- #post-<?php 
the_ID();
?>
 -->
Ejemplo n.º 4
0
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * The Right Split Sidebar.
 *
 * @package WordPress
 * @subpackage Weaver II
 * @since Weaver II 1.0
 */
?>
	<div id="sidebar_wrap_right" class="split equal_height">
<?php 
weaverii_trace_sidebar(__FILE__);
weaverii_inject_area('presidebar_right');
weaverii_show_primary_sidebar();
// show default primary widget area
// Upper/Right -----------------------
if (!weaverii_is_checked_page_opt('hide_sidebar_right') && !weaverii_replace_right()) {
    // The Upper/right Widget Area
    if (is_active_sidebar('right-widget-area')) {
        ?>
	<div id="sidebar_right" class="widget-area" role="complementary">
<?php 
        dynamic_sidebar('right-widget-area');
        ?>

	</div><!-- sidebar_right .widget-area -->
<?php 
    }
Ejemplo n.º 5
0
        previous_comments_link(__('&larr; Older Comments', 'weaver-ii'));
        ?>
</div>
			<div class="nav-next"><?php 
        next_comments_link(__('Newer Comments &rarr;', 'weaver-ii'));
        ?>
</div>
		</nav>
		<?php 
    }
    // check for comment navigation
    ?>

	<?php 
    /* If there are no comments and comments are closed, let's leave a little note, shall we?
     * But we don't want the note on pages or post types that do not support comments.
     */
} elseif (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) {
    ?>
		<p class="nocomments"><?php 
    echo __('Comments are closed.', 'weaver-ii');
    ?>
</p>
<?php 
}
comment_form();
?>
</div><!-- #comments -->
<?php 
weaverii_inject_area('postcomments');
Ejemplo n.º 6
0
        ?>
><?php 
        echo do_shortcode($extra);
        ?>
</div>
    <?php 
    }
    ?>
		</div>
<?php 
    if (weaverii_getopt('wii_top_menu_before_header') && !weaverii_getopt('wii_top_menu_before_wrapper')) {
        do_action('weaver_nav', 'top');
    }
    weaverii_mobile_toggle('header');
    // display toggle button
    weaverii_inject_area('header');
    // inject header HTML
    if (!weaverii_getopt('_wii_hdr_widg_afterimg')) {
        get_sidebar('header');
    }
    weaveriip_header_insert();
    // add W-II Pro injection
    /* The Dynamic Headers shows headers on a per page basis - will also optionally add site link */
    if (function_exists('show_media_header')) {
        show_media_header();
    }
    // Plugin support: **Dynamic Headers**
    /* ======== HEADER IMAGE ======== */
    global $weaverii_header;
    if (!(weaverii_is_checked_page_opt('ttw-hide-header-image') && !is_search()) && !(weaverii_getopt_checked('wii_normal_hide_header_image') && !weaverii_use_mobile('mobile')) && !(weaverii_getopt_checked('wii_mobile_hide_header_image') && weaverii_use_mobile('mobile')) || weaverii_getopt_checked('wii_ipad_show_header_image') && weaverii_use_mobile('tablet')) {
        if (!weaverii_getopt_checked('wii_hide_header_image') && !(weaverii_getopt('wii_hide_header_image_front') && is_front_page())) {
Ejemplo n.º 7
0
}
// 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');
}
?>
		<section id="container">
<?php 
Ejemplo n.º 8
0
    }
    weaverii_mobile_toggle('footer');
    // display toggle button
    ?>
		</div><!-- #site-ig-wrap -->
		<div class="weaver-clear"></div>
	  </div>
	</footer><!-- #colophon -->
<?php 
}
// end if !hide_footer
if (!weaverii_getopt_checked('wii_footer_last')) {
    // normally, #colophon inside #page
    echo "</div><!-- #wrapper -->\n";
}
weaverii_inject_area('postfooter');
// and this is the end options insertion
echo "<a href=\"#page-top\" id=\"page-bottom\">&uarr;</a>\n";
if (!weaverii_getopt_checked('_wii_no_final_div')) {
    if (weaverii_getopt_checked('wii_hide_final')) {
        echo '<div id="weaver-final" class="weaver-final-normal wvr-hide-bang">';
    } else {
        echo '<div id="weaver-final" class="weaver-final-normal">';
    }
}
wp_footer();
weaverii_masonry('invoke-code');
if (!weaverii_getopt_checked('_wii_no_final_div')) {
    echo '</div> <!-- #weaver-final -->' . "\n";
}
if (weaverii_dev_mode() && weaverii_getopt_checked('_weaverii_diag_timer')) {