__( 'Displays an Alba styled heading.', 'albar' ), ) ); } function widget( $args, $instance ) { if ( empty( $instance['heading'] ) ) return; $output = ''; $output .= $args['before_widget']; $output .= $args['before_title']; $output .= '
'; if($instance['icon_name']) { $output .= '

' . wp_kses_post( $instance['heading'] ) . '

'; } else { $output .= '

' . wp_kses_post( $instance['heading'] ) . '

'; } if($instance['heading-text']) { $output .= '
' . wp_kses_post( $instance['heading-text'] ) . '
'; } $output .= '
'; $output .= $args['after_title']; $output .= $args['after_widget']; echo $output; } function form( $instance ) { $instance = wp_parse_args( $instance, array( 'icon_name' => '', 'heading' => '', 'heading-text' => '', 'style' => 'lined', 'size' => 'medium', 'align' => 'left' ) ); ?>

Font Awesome, select the text name and add it here. Eg: "fa-glass".', 'albar' ) ?>

Bold Tags around words to make them take on the theme main color', 'albar' ) ?>