/home/desid573/cf.desidrivers.com.au/wp-content/themes/Divi/includes/widgets
Edit: /home/desid573/cf.desidrivers.com.au/wp-content/themes/Divi/includes/widgets/widget-about.php (3169B)
esc_html__( 'Displays About Me Information', 'Divi' ) );
$control_ops = array( 'width' => 400, 'height' => 300 );
parent::__construct( false, $name = esc_html__( 'ET About Me Widget', 'Divi' ), $widget_ops, $control_ops );
}
/* Displays the Widget in the front-end */
function widget( $args, $instance ){
extract($args);
$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? esc_html__( 'About Me', 'Divi' ) : esc_html( $instance['title'] ) );
$imagePath = empty( $instance['imagePath'] ) ? '' : esc_url( $instance['imagePath'] );
$aboutText = empty( $instance['aboutText'] ) ? '' : $instance['aboutText'];
echo et_core_intentionally_unescaped( $before_widget, 'html' );
if ( $title )
echo et_core_intentionally_unescaped( $before_title . $title . $after_title, 'html' ); ?>
esc_html__( 'About Me', 'Divi' ), 'imagePath' => '', 'aboutText' => '' ) );
# Title
echo '
';
# Image
echo '
';
# About Text
echo '
';
}
}// end AboutMeWidget class
function AboutMeWidgetInit() {
register_widget('AboutMeWidget');
}
add_action('widgets_init', 'AboutMeWidgetInit');