/**
  * Load widgets
  */
 public function load_widgets()
 {
     $wpv_sidebars = WpvSidebars::getInstance();
     $wpv_sidebars->register_sidebars();
     add_filter('widget_text', 'do_shortcode');
     add_filter('widget_title', 'do_shortcode');
     $widgets = array('advertisement', 'authors', 'contactinfo', 'flickr', 'gmap', 'icon-link', 'post-formats', 'posts', 'subpages');
     $enabled = get_theme_support('wpv-enabled-widgets');
     if (is_array($enabled)) {
         $widgets = $enabled;
     }
     foreach ($widgets as $name) {
         require_once WPV_WIDGETS . "/{$name}.php";
     }
 }
    /**
     * displays the right sidebar if there is one
     */
    public static function right_sidebar()
    {
        $layout_type = WpvTemplates::get_layout();
        if ($layout_type == 'right-only' || $layout_type == 'left-right') {
            ?>
			<aside class="<?php 
            echo apply_filters('wpv_right_sidebar_class', 'right', $layout_type);
            ?>
">
				<?php 
            WpvSidebars::getInstance()->get_sidebar('right');
            ?>
			</aside>
		<?php 
        }
    }