<?php
/**
 * The Blog Sidebar containing the widget area.
 *
 * @package Rocco
 * @author Muffin group
 * @link http://muffingroup.com
 */

$posts_page_id = get_option( 'page_for_posts' );
$sidebars = mfn_opts_get( 'sidebars' );
$sidebar = get_post_meta($posts_page_id, 'mfn-post-sidebar', true);
$sidebar = $sidebars[$sidebar];
?>

<?php if( mfn_sidebar_classes() ): ?>
<div class="four columns">
	<div class="widget-area clearfix">
		<?php 
			if ( ! dynamic_sidebar( $sidebar ) ){ 
				mfn_nosidebar(); 
			}
		?>
	</div>
</div>
<?php endif; ?>