'widget_thrive_author', 'description' => __( 'Short introduction of the blog author/owner.', 'thrive' ) );
parent::__construct( 'widget_thrive_author', __( 'Thrive Author Widget', 'thrive' ), $widget_ops );
$this->alt_option_name = 'widget_thrive_author';
add_action( 'save_post', array( &$this, 'flush_widget_cache' ) );
add_action( 'deleted_post', array( &$this, 'flush_widget_cache' ) );
add_action( 'switch_theme', array( &$this, 'flush_widget_cache' ) );
}
function widget( $args, $instance ) {
if ( ! isset( $args['widget_id'] ) ) {
$args['widget_id'] = "widget-thrive" . rand( 0, 999 );
}
$author_email = null;
if ( $instance['user_profile'] && $instance['user_profile'] > 0 ) {
$author_email = get_the_author_meta( 'user_email', $instance['user_profile'] );
}
?>
_btn_upload' value=''/>