<?php 
        comments_template('', true);
        ?>

	</div>

<?php 
    }
}
wp_reset_query();
?>

</div>

<div class="sidebar_block <?php 
if ($position == 'sidebar-content') {
    echo 'area_left';
} else {
    echo 'area_right';
}
?>
">
<?php 
wip_generated_dynamic_sidebar($sidebarid);
wp_reset_postdata();
?>
</div>
	
<div class="clear"></div>
</div><!-- end .wrap_960 -->
Beispiel #2
0
    ?>

			<p class="search-fail"><?php 
    _e('Sorry, but nothing matched with your search criteria. Please try again with some different keywords.', 'wip');
    ?>
</p>

		<?php 
}
wp_reset_query();
?>
		
			</div>


			<div class="sidebar_block area_right">
			<?php 
wip_generated_dynamic_sidebar('BlogSlidebar');
wp_reset_postdata();
?>
			</div>

			<div class="clear"></div>

		</div><!-- end .wrap_960 -->
	</div>
	<!-- END MAIN SECTION -->


<?php 
get_footer();
/**
 * return the content + sidebar layout module
 * @param $position = either 'content_sidebar' or 'sidebar_content'
 * @param $content = generate from _wip.layout.helper.php
 * @param $sidebarid = choosen sidebar
 *
 * return HTML layout
 */
function _print_category_contentsidebar_module($position = 'content_sidebar', $content, $sidebarid)
{
    global $sidebar_layout, $fullwidth_layout;
    echo '<div class="wrap_960">' . "\n";
    echo '<div class="area_with_sidebar ' . ($position == 'content_sidebar' ? 'area_left' : 'area_right') . '">' . "\n";
    echo $content;
    echo '</div>' . "\n";
    echo '<div class="sidebar_block ' . ($position == 'content_sidebar' ? 'area_right' : 'area_left') . '">' . "\n";
    wip_generated_dynamic_sidebar($sidebarid);
    wp_reset_postdata();
    echo '</div>' . "\n";
    echo '<div class="clear"></div>' . "\n";
    echo '</div><!-- end .wrap_960 -->' . "\n";
}
Beispiel #4
0
    ?>

			<p class="search-fail"><?php 
    _e('Sorry, but nothing matched with your search criteria. Please try again with some different keywords.', 'wip');
    ?>
</p>

		<?php 
}
wp_reset_query();
?>
		
			</div>


			<div class="sidebar_block area_right">
			<?php 
wip_generated_dynamic_sidebar('Default Sidebar');
wp_reset_postdata();
?>
			</div>

			<div class="clear"></div>

		</div><!-- end .wrap_960 -->
	</div>
	<!-- END MAIN SECTION -->


<?php 
get_footer();
 function _wip_output_content_wrapper_end()
 {
     global $woocommerce_loop, $wip_woo_single;
     if (!$wip_woo_single && $woocommerce_loop['parent_layout'] != 'fullwidth') {
         echo '</div><!-- end .area_with_sidebar -->' . "\n";
         /** we have remove woocommerce_get_sidebar() and call sidebar right from here */
         echo '<div class="sidebar_block ' . ($woocommerce_loop['parent_layout'] == 'content-sidebar' ? 'area_right' : 'area_left') . '">' . "\n";
         wip_generated_dynamic_sidebar(get_wip_option_by('bd_shoppage_sidebar', 'Default Sidebar'));
         wp_reset_postdata();
         #woocommerce not reset it's query in lots of widgets!!!
         echo '</div>' . "\n";
         echo '<div class="clear"></div>' . "\n";
     }
     if ($wip_woo_single) {
         echo '<div class="clear"></div>' . "\n";
         echo '</div><!-- end .wip-product-single-page -->' . "\n";
     }
     wip_layout_helper::_delete_global_layout();
     //reset global layout
     echo '</div><!-- end .wrap_960 -->' . "\n";
     echo '</div><!-- end MAIN SECTION -->' . "\n";
 }