function weaverx_page_lead($who, $archive = false)
{
    // common lead in for all pages with infobar and top widget area
    $GLOBALS['weaverx_page_who'] = $who;
    $GLOBALS['weaverx_page_is_archive'] = $archive;
    get_header($who);
    if ($archive) {
        $sb_layout = weaverx_sb_layout_archive($who);
    } else {
        $sb_layout = weaverx_sb_layout($who);
    }
    weaverx_container_div($who);
    // #container
    get_template_part('templates/infobar');
    weaverx_sidebar_before($sb_layout, $who);
    // sidebars if top-stacking
    do_action('weaverx_per_page');
    echo '<div id="content" role="main"' . weaverx_content_class($sb_layout, $who, false) . ">\n";
    weaverx_inject_area('precontent');
    return $sb_layout;
}
// need these for body class
get_header('pwp');
// build infobar front part - replace get_template_part('infobar'); with local code
// we need to build it in a buffer
weaverx_container_div('pwp');
// #container
ob_start();
// generate the stuff that comes AFTER the infobar for pwp since we can't generate page nav until later
$sb_layout = weaverx_sb_layout('blog');
// ********* get_template_part('templates/infobar');	// put the info bar
weaverx_sidebar_before($sb_layout, 'blog');
// sidebars if top-stacking
do_action('weaverx_per_page');
$paged = weaverx_get_page();
// and next the content area.
echo '<div id="content" role="main" ' . weaverx_content_class($sb_layout, 'pwp', false) . ">\n";
weaverx_inject_area('precontent');
weaverx_sb_precontent('blog');
weaverx_post_count_clear();
the_post();
if (!is_front_page()) {
    $GLOBALS['weaverx_pwp_title'] = get_the_title();
    // Make breadcrumbs work a bit better
}
if ($paged == 1) {
    // only show on the first page
    // If we have content for this page, let's display it.
    if (get_the_content() != '' || get_the_title() != '' && !weaverx_is_checked_page_opt('_pp_hide_page_title')) {
        get_template_part('templates/content', 'page');
    } else {
        weaverx_edit_link();