<?php if ( is_active_sidebar('swm-footer-1') ) { ?>

	<div class="swm-f-widget">
		<?php dynamic_sidebar('swm-footer-1'); ?>
	</div>

<?php } ?>

<?php if ( is_active_sidebar('swm-footer-2') ) { ?>

	<div class="swm-f-widget">
		<?php dynamic_sidebar('swm-footer-2'); ?>
	</div>

<?php } ?>

<?php if ( is_active_sidebar('swm-footer-3') ) { ?>

	<div class="swm-f-widget">
		<?php dynamic_sidebar('swm-footer-3'); ?>
	</div>

<?php } ?>

<?php if ( is_active_sidebar('swm-footer-4') ) { ?>

	<div class="swm-f-widget">
		<?php dynamic_sidebar('swm-footer-4'); ?>
	</div>

<?php } ?>

<?php if ( is_active_sidebar('swm-footer-5') ) { ?>

	<div class="swm-f-widget">
		<?php dynamic_sidebar('swm-footer-5'); ?>
	</div>

<?php } ?>