Ejemplo n.º 1
0
<div class="one_half no-margin-right">
<?php 
    if (dp_is_active_sidebar('footer2')) {
        ?>
<div id="dp-footer2" class="dp-page widget-area">
	<?php 
        dp_dynamic_sidebar('footer2');
        ?>
</div>
<?php 
    }
    ?>
</div>
<div class="one_fourth  no-margin-right">
<?php 
    if (dp_is_active_sidebar('footer3')) {
        ?>
<div id="dp-footer3" class="dp-page widget-area">
	<?php 
        dp_dynamic_sidebar('footer3');
        ?>
</div>
<?php 
    }
    ?>


</div>
</div>
<?php 
}
Ejemplo n.º 2
0
 *
 * Template elements after the page content
 *
 **/
// create an access to the template main object
global $dynamo_tpl;
// disable direct access to the file
defined('DYNAMO_WP') or die('Access denied');
?>
		
			</div><!-- end of the #dp-content-wrap -->
			
			</section><!-- end of the mainbody section -->
		
			<?php 
if (get_option($dynamo_tpl->name . '_sidebar_position', 'right') != 'none' && (dp_is_active_sidebar('sidebar') || dp_is_active_sidebar('woosidebar')) && ($args == null || $args != null && $args['sidebar'] == true)) {
    ?>
			<?php 
    do_action('dynamowp_before_column');
    ?>
			<aside id="dp-sidebar">
            <?php 
    if (class_exists('Woocommerce') && is_woocommerce()) {
        dp_dynamic_sidebar('woosidebar');
    } else {
        dp_dynamic_sidebar('sidebar');
    }
    ?>
			</aside>
			<?php 
    do_action('dynamowp_after_column');