Пример #1
0
if (!empty($above_sidebar_content)) {
    ?>
			<div class="above-sidebar-wrapper"><?php 
    gdlr_print_page_builder($above_sidebar_content);
    ?>
</div>
		<?php 
}
?>
		
		<!-- Sidebar With Content Section-->
		<?php 
if (!empty($gdlr_post_option['sidebar']) && $gdlr_post_option['sidebar'] != 'no-sidebar') {
    global $gdlr_sidebar;
    $gdlr_sidebar = array('type' => $gdlr_post_option['sidebar'], 'left-sidebar' => $gdlr_post_option['left-sidebar'], 'right-sidebar' => $gdlr_post_option['right-sidebar']);
    $gdlr_sidebar = gdlr_get_sidebar_class($gdlr_sidebar);
    ?>
			<div class="with-sidebar-wrapper">
				<div class="with-sidebar-container container">
					<div class="with-sidebar-left <?php 
    echo esc_attr($gdlr_sidebar['outer']);
    ?>
 columns">
						<div class="with-sidebar-content <?php 
    echo esc_attr($gdlr_sidebar['center']);
    ?>
 columns">
							<?php 
    if (!empty($with_sidebar_content)) {
        gdlr_print_page_builder($with_sidebar_content, false);
    }
<?php

get_header();
while (have_posts()) {
    the_post();
    ?>
<div class="gdlr-content">

	<?php 
    global $gdlr_sidebar, $theme_option, $gdlr_post_option, $gdlr_is_ajax;
    $gdlr_sidebar = gdlr_get_sidebar_class(array('type' => 'no-sidebar', 'left-sidebar' => '', 'right-sidebar' => ''));
    ?>
	<div class="with-sidebar-wrapper">
		<div class="with-sidebar-container container gdlr-class-<?php 
    echo $gdlr_sidebar['type'];
    ?>
">
			<div class="with-sidebar-left <?php 
    echo $gdlr_sidebar['outer'];
    ?>
 columns">
				<div class="with-sidebar-content <?php 
    echo $gdlr_sidebar['center'];
    ?>
 columns">
					<div class="gdlr-item gdlr-item-start-content">
						<div id="speaker-<?php 
    the_ID();
    ?>
" <?php 
    post_class();