Beispiel #1
0
function wpv_get_header_sidebars($title = null)
{
    $result = false;
    global $wpv_has_header_sidebars;
    if ($wpv_has_header_sidebars) {
        ?>
		<div class="pane">
			<div class="row">
			<?php 
        $result = true;
        WpvTemplates::page_header(false, $title);
        WpvTemplates::header_sidebars();
        ?>
			</div>
		</div>
		<?php 
    }
    return $result;
}
Beispiel #2
0
	<div class="row page-wrapper">
		<?php 
    WpvTemplates::left_sidebar();
    ?>

		<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class(WpvTemplates::get_layout());
    ?>
>
			<?php 
    global $wpv_has_header_sidebars;
    if ($wpv_has_header_sidebars) {
        WpvTemplates::header_sidebars();
    }
    ?>
			<div class="page-content">
				<?php 
    the_content();
    ?>
				<?php 
    wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'honeymoon'), 'after' => '</div>'));
    ?>
				<?php 
    WpvTemplates::share('page');
    ?>
			</div>

			<?php