do_widget( $atts ); } function print_sidebar() { ob_start(); if (is_active_sidebar('squat_widget_gebied')) { dynamic_sidebar('squat_widget_gebied'); } return ob_get_clean(); } function add_sidebar() { register_sidebar(array( 'name' => __( 'Squat Radar Shortcodes'), 'description'=> __( 'This widget area is not by default displayed on frontend. It can be displayed with all its widgets with the [squat_radar] shortcode.', 'squat-radar' ), 'id' => 'squat_radar_widget_shortcode', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); } }