'sydney_facts_widget', 'description' => __( 'Show your visitors some facts about your company.', 'sydney') ); parent::__construct(false, $name = __('Sydney FP: Facts', 'sydney'), $widget_ops); $this->alt_option_name = 'sydney_facts_widget'; } // widget form creation function form($instance) { // Check values $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; $fact_one = isset( $instance['fact_one'] ) ? esc_html( $instance['fact_one'] ) : ''; $fact_one_max = isset( $instance['fact_one_max'] ) ? esc_html( $instance['fact_one_max'] ) : ''; $fact_one_icon = isset( $instance['fact_one_icon'] ) ? esc_html( $instance['fact_one_icon'] ) : ''; $fact_two = isset( $instance['fact_two'] ) ? esc_attr( $instance['fact_two'] ) : ''; $fact_two_max = isset( $instance['fact_two_max'] ) ? esc_html( $instance['fact_two_max'] ) : ''; $fact_two_icon = isset( $instance['fact_two_icon'] ) ? esc_html( $instance['fact_two_icon'] ) : ''; $fact_three = isset( $instance['fact_three'] ) ? esc_attr( $instance['fact_three'] ) : ''; $fact_three_max = isset( $instance['fact_three_max'] ) ? esc_html( $instance['fact_three_max'] ) : ''; $fact_three_icon = isset( $instance['fact_three_icon'] ) ? esc_html( $instance['fact_three_icon'] ) : ''; $fact_four = isset( $instance['fact_four'] ) ? esc_attr( $instance['fact_four'] ) : ''; $fact_four_max = isset( $instance['fact_four_max'] ) ? esc_html( $instance['fact_four_max'] ) : ''; $fact_four_icon = isset( $instance['fact_four_icon'] ) ? esc_html( $instance['fact_four_icon'] ) : ''; ?>

 fa-android', 'sydney'); ?>

id; } extract($args); $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : ''; $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); $fact_one = isset( $instance['fact_one'] ) ? esc_html( $instance['fact_one'] ) : ''; $fact_one_max = isset( $instance['fact_one_max'] ) ? esc_html( $instance['fact_one_max'] ) : ''; $fact_one_icon = isset( $instance['fact_one_icon'] ) ? esc_html( $instance['fact_one_icon'] ) : ''; $fact_two = isset( $instance['fact_two'] ) ? esc_attr( $instance['fact_two'] ) : ''; $fact_two_max = isset( $instance['fact_two_max'] ) ? esc_html( $instance['fact_two_max'] ) : ''; $fact_two_icon = isset( $instance['fact_two_icon'] ) ? esc_html( $instance['fact_two_icon'] ) : ''; $fact_three = isset( $instance['fact_three'] ) ? esc_attr( $instance['fact_three'] ) : ''; $fact_three_max = isset( $instance['fact_three_max'] ) ? esc_html( $instance['fact_three_max'] ) : ''; $fact_three_icon= isset( $instance['fact_three_icon'] ) ? esc_html( $instance['fact_three_icon'] ) : ''; $fact_four = isset( $instance['fact_four'] ) ? esc_attr( $instance['fact_four'] ) : ''; $fact_four_max = isset( $instance['fact_four_max'] ) ? esc_html( $instance['fact_four_max'] ) : ''; $fact_four_icon = isset( $instance['fact_four_icon'] ) ? esc_html( $instance['fact_four_icon'] ) : ''; echo $args['before_widget']; ?>