0)) ? new WP_User((int) $user_id) : wp_get_current_user(); } static function load_page() { $profile = self::get_user(); if (authorsure::is_author($profile)) { add_filter('user_contactmethods', array(AUTHORSURE,'add_contactmethods_profile'),10,1); add_filter( 'genesis_formatting_allowedtags', array(AUTHORSURE,'genesis_allow_img') ); if (authorsure::get_option('author_bio') == 'extended') add_action( self::is_profile() ? 'show_user_profile' : 'edit_user_profile', array(AUTHORSURE_PROFILE,'show_extended_bio'),2); authorsure::wordpress_allow_img(); global $current_screen; if (method_exists($current_screen,'add_help_tab')) { $current_screen->add_help_tab( array( 'id' => 'authorsure_instructions_tab', 'title' => __('AuthorSure Instructions'), 'content' => '
In the Contact Info section below you can specify links to your other profies such as GooglePlus, Facebook, Twitter, etc.
The Authorsure plugin will show these links on your Author page with the rel="me" attribute set for authentication purposes.
It is important to fill in your GooglePlus Profile URL below if you want to verify your author profile with Google.
')) ); } } } static function show_extended_bio($user) { $label = __('Extended Biographical Info'); $help = __('Supply an extended bio to go on your author page.'); $key = authorsure::get_extended_bio_key(); $bio = get_user_option($key); print <<< EXTENDED_BIO{$help} |