add_help_tab( array( 'id' => 'authorsure_instructions_tab', 'title' => __('AuthorSure Instructions'), 'content' => '
On the Options page you can specify:
You can leave the default settings here if your WordPress theme puts a link with rel=author to the author page in the post 'byline'.
These settings determine how you manage authorship of your category, tag and any other taxonomy archive pages.
The word or words that precede the author name on the archive pages. (e.g. "Author:")
Choose the default author to be used on the category and tag archive pages. Note that you can override this setting on individual archive pages.
For example, John may be the primary author for the site, but Jane is the chosen author for the psychology category and Rachael for the the Chemistry category.
Check the box above if you want the plugin to give you the opportunity to include a paragraph at the top of the archive page that precedes the list of posts in this archive. Your WordPress theme may already give you this facility but if it does not then please use this option as it can help you improve your archive pages from both human readership and SEO standpoints. After you home page, your category and tag pages can be the next most visited pages on your site so its pays dividends to put some work into them.
ARCHIVE_PANEL; } static function author_panel($post, $metabox) { $options = authorsure::get_options(); $show_title = $options['author_show_title'] ? ' checked="checked"' : ''; $hide_labels = $options['author_profiles_no_labels'] ? ' checked="checked"' : ''; $summary = $options['author_bio']=='summary'?' checked="checked"':''; $extended = $options['author_bio']=='extended'?' checked="checked"':''; $none = $options['author_bio']=='none'?' checked="checked"':''; $size_16 = $options['author_profiles_image_size']=='16'?' checked="checked"':''; $size_24 = $options['author_profiles_image_size']=='24'?' checked="checked"':''; $size_32 = $options['author_profiles_image_size']=='32'?' checked="checked"':''; $icon_16 = AUTHORSURE::get_icon('googleplus', '', 16 ); $icon_24 = AUTHORSURE::get_icon('googleplus', '', 24 ); $icon_32 = AUTHORSURE::get_icon('googleplus', '', 32 ); $labels=''; foreach ($options['author_profiles'] as $profile => $label) { $labels .= 'These settings control how your author pages link back to Google. You may need to tweak the settings here depending on how your WordPress theme displays author pages.
Check the box above if you want the plugin to show the author name as a title to the Author page. If your WordPress theme does this already then clear the checkbox.
The word or words that precede the author name in the title of the Author Page. (e.g About)
Choose whether you want a short, extended or no bio at the top of the author pages
Enter your prefered text that precedes the list of contact methods. For example: "Find out more about me at:"
Choose the size of the social media icons.
Check the box above if you want to show the social media icons on a single line.
Enter the text you want to appear as the text on the link to the profile page. For example, "Google+", "GooglePlus", etc.
The heading that precede the list of posts (or post excerpts) by the author. (e.g. Here are my most recent posts). Leave blank if you do not want a heading
AUTHORSURE_PAGE_PANEL; } static function advanced_panel($post, $metabox) { $options = authorsure::get_options(); $hook = AUTHORSURE::get_author_page_hook(); $hook_index = AUTHORSURE::get_author_page_hook_index(); $hook_instances = ''; for ($i=1; $i<11; $i++ ) { $checked = $hook_index==$i ? ' selected="selected"': ''; $hook_instances .= ''; } print <<< AUTHORSURE_ADVANCED_PANELOnly change the settings below if Authorsure is adding the author profile in the incorrect location, such as in the header, footer or in a sidebar, or the profile is missing completely form the author page. This is because your WordPress theme is doing something more on the author page than just dispaying the list of posts by that author. You can adjust the settings below on a trial and error basis to see if they improve the situation.
If your theme has its own 'hooks' then you can configure AuthorSure to use one of those hooks.
The name of the hook where AuthorSure runs in order to add the profile information and the link back to Google+. (e.g loop_start is the default hook)
Select on which instance of the hook to you want AuthorSure to run. The default is the first instance. In other words AuthorSure will run just before the first loop which fetches all the posts by that author. See the links in the sidebar for more information on changing these settings.
AUTHORSURE_ADVANCED_PANEL; } static function publisher_panel($post, $metabox) { $publisher = authorsure::get_publisher(); $homepage = site_url(); print <<Enter your Google Plus page ID here if your have set up a "Google+ Page" for your organization or product, and AuthorSure will put a rel="publisher" link to the specified Google+ page on your home page, {$homepage} .
AUTHORSURE_PUBLISHER_PANEL; } function licence_panel ($post, $metabox) { require_once(dirname(__FILE__).'/authorsure-updater.php'); $licence = AuthorSureUpdater::get_licence(); $key_status_indicator =''; $notice =''; if (! empty($licence)) { $is_pro = AuthorSureUpdater::check_validity(); $flag = $is_pro ? 'tick' : 'cross'; $expiry = AuthorSureUpdater::get_expiry(); if (!empty($expiry)) $expiry = 'License Expiry : '.$expiry; $key_status_indicator = '
'.$expiry;
$notice = $is_pro ? '': (''.AuthorSureUpdater::get_notice().'
'); } $home = AUTHORSURE_HOME; $pro = AUTHORSURE_PRO; print <<< LICENCE_PANELThe AuthorSure Pro Licence Key is required if you want to get support through the AuthorSure Pro Forums and also use some of the AuthorSure Pro Bonus features.
LICENCE_PANEL; } function help_panel() { $home = AUTHORSURE_HOME; $images = AUTHORSURE_IMAGES_URL; $domain = parse_url(site_url(),PHP_URL_HOST); print <<< HELP_PANEL