log_file = dirname( __FILE__ ) . '/all_in_one_seo_pack.log';
if ( $aioseop_options['aiosp_do_log'] )
$this->do_log = true;
else
$this->do_log = false;
$this->init();
global $aioseop_plugin_name;
$aioseop_plugin_name = __( 'All in One SEO Pack', 'all_in_one_seo_pack' );
if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
$this->name = sprintf( __( '%s Plugin Options', 'all_in_one_seo_pack' ), AIOSEOP_PLUGIN_NAME );
$this->menu_name = __( 'General Settings', 'all_in_one_seo_pack' );
$this->prefix = 'aiosp_'; // option prefix
$this->option_name = 'aioseop_options';
$this->store_option = true;
$this->file = __FILE__; // the current file
parent::__construct();
$this->default_options = array(
"donate"=> Array(
'name' => __( 'I enjoy this plugin and have made a donation:', 'all_in_one_seo_pack' ),
'help_text' => __( "All donations support continued development of this free software.", 'all_in_one_seo_pack' ),
'default' => 0),
"can"=> Array(
'name' => __( 'Canonical URLs:', 'all_in_one_seo_pack' ),
'help_text' => __( "This option will automatically generate Canonical URLs for your entire WordPress installation. This will help to prevent duplicate content penalties by Google. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"use_original_title"=> Array(
'name' => __( 'Use Original Title:', 'all_in_one_seo_pack' ),
'help_text' => __( "Use wp_title to set the title; disable this option if you run into conflicts with the title being set by your theme or another plugin. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'radio',
'default' => 0,
'initial_options' => Array( 1 => __( 'Enabled', 'all_in_one_seo_pack' ),
0 => __( 'Disabled', 'all_in_one_seo_pack' ) )
),
"do_log"=> Array(
'name' => __( 'Log important events:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this and All in One SEO Pack will create a log of important events (all_in_one_seo_pack.log) in its plugin directory which might help debugging. Make sure this directory is writable. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => null ),
"home_title"=> Array(
'name' => __( 'Home Title:', 'all_in_one_seo_pack' ),
'help_text' => __( "As the name implies, this will be the Meta Title of your homepage. This is independent of any other option. If not set, the default Site Title (found in WordPress under Settings, General, Site Title) will be used. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'textarea', 'sanitize' => 'text' ),
"home_description"=> Array(
'name' => __( 'Home Description:', 'all_in_one_seo_pack' ),
'help_text' => __( "This will be the Meta Description for your homepage. This is independent of any other option. The default is no Meta Description at all if this is not set. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'textarea', 'sanitize' => 'text' ),
"home_keywords"=> Array(
'name' => __( 'Home Keywords (comma separated):', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter a comma separated list of your most important keywords for your site that will be written as Meta Keywords on your homepage. Don\'t stuff everything in here. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'textarea', 'sanitize' => 'text',
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"togglekeywords" => Array(
'name' => __( 'Use Keywords:', 'all_in_one_seo_pack' ),
'help_text' => __( "This option allows you to toggle the use of Meta Keywords throughout the whole of the site. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0,
'type' => 'radio',
'initial_options' => Array( 0 => __( 'Enabled', 'all_in_one_seo_pack' ),
1 => __( 'Disabled', 'all_in_one_seo_pack' ) )
),
"use_categories"=> Array(
'name' => __( 'Use Categories for Meta Keywords:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you want your categories for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen). Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"use_tags_as_keywords" => Array(
'name' => __( 'Use Tags for Meta Keywords:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you want your tags for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen). Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1,
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"dynamic_postspage_keywords"=> Array(
'name' => __( 'Dynamically Generate Keywords for Posts Page:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you want your keywords on your Posts page (set in WordPress under Settings, Reading, Front Page Displays) to be dynamically generated from the keywords of the posts showing on that page. If unchecked, it will use the keywords set in the Edit Page screen for the Posts page. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1,
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"rewrite_titles"=> Array(
'name' => __( 'Rewrite Titles:', 'all_in_one_seo_pack' ),
'help_text' => __( "Note that this is all about the title tag. This is what you see in your browser's window title bar. This is NOT visible on a page, only in the title bar and in the source code. If enabled, all page, post, category, search and archive page titles get rewritten. You can specify the format for most of them. For example: Using the default post title format below, Rewrite Titles will write all post titles as 'Post Title | Blog Name'. If you have manually defined a title using All in One SEO Pack, this will become the title of your post in the format string. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1,
'type' => 'radio',
'initial_options' => Array( 1 => __( 'Enabled', 'all_in_one_seo_pack' ),
0 => __( 'Disabled', 'all_in_one_seo_pack' ) )
),
"cap_titles"=> Array(
'name' => __( 'Capitalize Titles:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this and Search Page Titles and Tag Page Titles will have the first letter of each word capitalized. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"cap_cats"=> Array(
'name' => __( 'Capitalize Category Titles:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this and Category Titles will have the first letter of each word capitalized. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"page_title_format"=> Array(
'name' => __( 'Page Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Pages. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' )
. '
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%page_title% - The original title of the page', 'all_in_one_seo_pack' ) . '
' .
__( '%category_title% - The (main) category of the page', 'all_in_one_seo_pack' ) . '
' .
__( '%category% - Alias for %category_title%', 'all_in_one_seo_pack' ) . '
' .
__( "%page_author_firstname% - This page's author' first name (capitalized)", 'all_in_one_seo_pack' ) . '
' .
__( "%page_author_lastname% - This page's author' last name (capitalized)", 'all_in_one_seo_pack' ) . '
' .
'
',
'type' => 'text',
'default' => '%page_title% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"post_title_format"=> Array(
'name' => __( 'Post Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Posts. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' )
. '
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%post_title% - The original title of the post', 'all_in_one_seo_pack' ) . '
' .
__( '%category_title% - The (main) category of the post', 'all_in_one_seo_pack' ) . '
' .
__( '%category% - Alias for %category_title%', 'all_in_one_seo_pack' ) . '
' .
__( "%post_author_firstname% - This post's author' first name (capitalized)", 'all_in_one_seo_pack' ) . '
' .
__( "%post_author_lastname% - This post's author' last name (capitalized)", 'all_in_one_seo_pack' ) . '
' .
'
',
'type' => 'text',
'default' => '%post_title% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"category_title_format"=> Array(
'name' => __( 'Category Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Category Archives. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%category_title% - The original title of the category', 'all_in_one_seo_pack' ) . '
' .
__( '%category_description% - The description of the category', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%category_title% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"archive_title_format"=> Array(
'name' => __( 'Date Archive Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Date Archives. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%date% - The original archive title given by wordpress, e.g. "2007" or "2007 August"', 'all_in_one_seo_pack' ) . '
' .
__( '%day% - The original archive day given by wordpress, e.g. "17"', 'all_in_one_seo_pack' ) . '
' .
__( '%month% - The original archive month given by wordpress, e.g. "August"', 'all_in_one_seo_pack' ) . '
' .
__( '%year% - The original archive year given by wordpress, e.g. "2007"', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%date% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"author_title_format"=> Array(
'name' => __( 'Author Archive Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Author Archives. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%author% - The original archive title given by wordpress, e.g. "Steve" or "John Smith"', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%author% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"tag_title_format"=> Array(
'name' => __( 'Tag Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for Tag Archives. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%tag% - The name of the tag', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%tag% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"search_title_format"=> Array(
'name' => __( 'Search Title Format:', 'all_in_one_seo_pack' ),
'help_text' =>
__( "This controls the format of the title tag for the Search page. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%search% - What was searched for', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%search% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"description_format"=> Array(
'name' => __( 'Description Format', 'all_in_one_seo_pack' ),
'help_text' => __( "This controls the format of Meta Descriptions. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%description% - The original description as determined by the plugin, e.g. the excerpt if one is set or an auto-generated one if that option is set', 'all_in_one_seo_pack' ) . '
' .
__( '%wp_title% - The original wordpress title, e.g. post_title for posts', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => '%description%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"404_title_format"=> Array(
'name' => __( '404 Title Format:', 'all_in_one_seo_pack' ),
'help_text' => __( "This controls the format of the title tag for the 404 page. Click here for documentation on this setting The following macros are supported:", 'all_in_one_seo_pack' ) .
'
' . __( '%blog_title% - Your blog title', 'all_in_one_seo_pack' ) . '
' .
__( '%blog_description% - Your blog description', 'all_in_one_seo_pack' ) . '
' .
__( '%request_url% - The original URL path, like "/url-that-does-not-exist/"', 'all_in_one_seo_pack' ) . '
' .
__( '%request_words% - The URL path in human readable form, like "Url That Does Not Exist"', 'all_in_one_seo_pack' ) . '
',
'type' => 'text',
'default' => 'Nothing found for %request_words%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"paged_format"=> Array(
'name' => __( 'Paged Format:', 'all_in_one_seo_pack' ),
'help_text' => __( "This string gets appended/prepended to titles of paged index pages (like home or archive pages). Click here for documentation on this setting", 'all_in_one_seo_pack' )
. __( 'The following macros are supported:', 'all_in_one_seo_pack' )
. '
',
'type' => 'text',
'default' => ' - Part %page%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"enablecpost"=> Array(
'name' => __( 'SEO for Custom Post Types:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you want to use All in One SEO Pack with any Custom Post Types on this site. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 'on',
'type' => 'radio',
'initial_options' => Array( 'on' => __( 'Enabled', 'all_in_one_seo_pack' ),
0 => __( 'Disabled', 'all_in_one_seo_pack' ) )
),
"cpostadvanced" => Array(
'name' => __( 'Enable Advanced Options:', 'all_in_one_seo_pack' ),
'help_text' => __( "This will show or hide the advanced options for SEO for Custom Post Types. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0,
'type' => 'radio',
'initial_options' => Array( 'on' => __( 'Enabled', 'all_in_one_seo_pack' ),
0 => __( 'Disabled', 'all_in_one_seo_pack' ) ),
'label' => null,
'condshow' => Array( "aiosp_enablecpost" => 'on' )
),
"cpostactive" => Array(
'name' => __( 'SEO on only these post types:', 'all_in_one_seo_pack' ),
'help_text' => __( "Use these checkboxes to select which Post Types you want to use All in One SEO Pack with. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'multicheckbox',
'default' => array('post', 'page'),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"cposttitles" => Array(
'name' => __( 'Custom titles:', 'all_in_one_seo_pack' ),
'help_text' => __( "This allows you to set the title tags for each Custom Post Type. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'checkbox',
'default' => 0,
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"posttypecolumns" => Array(
'name' => __( 'Show SEO Columns:', 'all_in_one_seo_pack' ),
'help_text' => __( "This lets you select which screens display the SEO Title, SEO Keywords and SEO Description columns. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'multicheckbox',
'default' => array('post', 'page') ),
"admin_bar" => Array(
'name' => __( 'Display Menu In Admin Bar:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to add All in One SEO Pack to the Admin Bar for easy access to your SEO settings. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 'on',
),
"custom_menu_order" => Array(
'name' => __( 'Display Menu At The Top:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to move the All in One SEO Pack menu item to the top of your WordPress Dashboard menu. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 'on',
),
"google_verify" => Array(
'name' => __( 'Google Webmaster Tools:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your verification code here to verify your site with Google Webmaster Tools. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'text' ),
"bing_verify" => Array(
'name' => __( 'Bing Webmaster Center:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your verification code here to verify your site with Bing Webmaster Tools. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'text' ),
"pinterest_verify" => Array(
'name' => __( 'Pinterest Site Verification:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your verification code here to verify your site with Pinterest. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'text' ),
"google_publisher"=> Array(
'name' => __( 'Google Plus Default Profile:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your Google Plus Profile URL here to link your site to your Google Plus account for authorship. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'text' ),
"google_disable_profile"=> Array(
'name' => __( 'Disable Google Plus Profile:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to remove the Google Plus field from the user profile screen. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0, 'type' => 'checkbox' ),
"google_analytics_id"=> Array(
'name' => __( 'Google Analytics ID:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your Google Analytics ID here to track visitor behavior on your site using Google Analytics. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'text' ),
"ga_use_universal_analytics" => Array(
'name' => __( 'Use Universal Analytics:', 'all_in_one_seo_pack' ),
'help_text' => __( "Use the new Universal Analytics tracking code for Google Analytics; do this for new analytics accounts.", 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"google_analytics_legacy_id"=> Array(
'name' => __( 'Google Analytics Legacy ID:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter your old Google Analytics ID here if you wish to continue tracking your site with an old GA Google Analytics tracking code in addition to using the new Universal Analytics code.", 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'text',
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ), "aiosp_ga_use_universal_analytics" => 'on' ) ),
"ga_domain"=> Array(
'name' => __( 'Tracking Domain:', 'all_in_one_seo_pack' ),
'type' => 'text',
'help_text' => __( "Enter your domain name if you have enabled tracking of Subdomains in Google Analytics. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_multi_domain"=> Array(
'name' => __( 'Track Multiple Domains:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you have enabled tracking of Multiple top-level domains in Google Analytics. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_track_outbound_links"=> Array(
'name' => __( 'Track Outbound Links:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this if you want to track outbound links with Google Analytics. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"cpostnoindex" => Array(
'name' => __( 'Default NOINDEX settings:', 'all_in_one_seo_pack' ),
'help_text' => __( "Set the default NOINDEX setting for each Post Type. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'multicheckbox',
'default' => array(),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"cpostnofollow" => Array(
'name' => __( 'Default NOFOLLOW settings:', 'all_in_one_seo_pack' ),
'help_text' => __( "Set the default NOFOLLOW setting for each Post Type. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'multicheckbox',
'default' => array(),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"category_noindex"=> Array(
'name' => __( 'Use NOINDEX for Category Archives:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to ask search engines not to index Category Archives. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"archive_date_noindex"=> Array(
'name' => __( 'Use NOINDEX for Date Archives:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to ask search engines not to index Date Archives. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"archive_author_noindex"=> Array(
'name' => __( 'Use NOINDEX for Author Archives:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to ask search engines not to index Author Archives. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"tags_noindex"=> Array(
'name' => __( 'Use NOINDEX for Tag Archives:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to ask search engines not to index Tag Archives. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0),
"search_noindex"=> Array(
'name' => __( 'Use NOINDEX for the Search page:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to ask search engines not to index the Search page. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0),
"generate_descriptions"=> Array(
'name' => __( 'Autogenerate Descriptions:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this and your Meta Descriptions will be auto-generated from your excerpt or content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 1),
"hide_paginated_descriptions"=> Array(
'name' => __( 'Remove Descriptions For Paginated Pages:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this and your Meta Descriptions will be removed from page 2 or later of paginated content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0),
"unprotect_meta"=> Array(
'name' => __( 'Unprotect Post Meta Fields:', 'all_in_one_seo_pack' ),
'help_text' => __( "Check this to unprotect internal postmeta fields for use with XMLRPC. If you don't know what that is, leave it unchecked. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'default' => 0),
"ex_pages" => Array(
'name' => __( 'Exclude Pages:', 'all_in_one_seo_pack' ),
'help_text' => __( "Enter a comma separated list of pages here to be excluded by All in One SEO Pack. This is helpful when using plugins which generate their own non-WordPress dynamic pages. Ex: /forum/, /contact/ For instance, if you want to exclude the virtual pages generated by a forum plugin, all you have to do is add forum or /forum or /forum/ or and any URL with the word \"forum\" in it, such as http://mysite.com/forum or http://mysite.com/forum/someforumpage here and it will be excluded from All in One SEO Pack. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '' ),
"post_meta_tags"=> Array(
'name' => __( 'Additional Post Headers:', 'all_in_one_seo_pack' ),
'help_text' => __( "What you enter here will be copied verbatim to the header of all Posts. You can enter whatever additional headers you want here, even references to stylesheets. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"page_meta_tags"=> Array(
'name' => __( 'Additional Page Headers:', 'all_in_one_seo_pack' ),
'help_text' => __( "What you enter here will be copied verbatim to the header of all Pages. You can enter whatever additional headers you want here, even references to stylesheets. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"front_meta_tags"=> Array(
'name' => __( 'Additional Front Page Headers:', 'all_in_one_seo_pack' ),
'help_text' => __( "What you enter here will be copied verbatim to the header of the front page if you have set a static page in Settings, Reading, Front Page Displays. You can enter whatever additional headers you want here, even references to stylesheets. This will fall back to using Additional Page Headers if you have them set and nothing is entered here. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"home_meta_tags"=> Array(
'name' => __( 'Additional Blog Page Headers:', 'all_in_one_seo_pack' ),
'help_text' => __( "What you enter here will be copied verbatim to the header of the home page if you have Front page displays your latest posts selected in Settings, Reading. It will also be copied verbatim to the header on the Posts page if you have one set in Settings, Reading. You can enter whatever additional headers you want here, even references to stylesheets. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
);
$this->locations = Array(
'default' => Array( 'name' => $this->name, 'prefix' => 'aiosp_', 'type' => 'settings', 'options' => null ),
'aiosp' => Array( 'name' => $this->plugin_name, 'type' => 'metabox', 'prefix' => '',
'options' => Array( 'edit', 'nonce-aioseop-edit', 'upgrade', 'snippet', 'title', 'description', 'keywords', 'noindex', 'nofollow', 'noodp', 'noydir', 'titleatr', 'menulabel', 'sitemap_exclude', 'disable', 'disable_analytics' ),
'default_options' => Array(
'edit' => Array( 'type' => 'hidden', 'default' => 'aiosp_edit', 'prefix' => true, 'nowrap' => 1 ),
'nonce-aioseop-edit' => Array( 'type' => 'hidden', 'default' => null, 'prefix' => false, 'nowrap' => 1 ),
'upgrade' => Array( 'type' => 'html', 'label' => 'none',
'default' => ''
. __( 'Upgrade to All in One SEO Pack Pro Version', 'all_in_one_seo_pack' ) . ''
),
'snippet' => Array( 'name' => __( 'Preview Snippet', 'all_in_one_seo_pack' ), 'type' => 'custom', 'help_text' => __( 'A preview of what this page might look like in search engine results.', 'all_in_one_seo_pack' ), 'label' => 'top',
'default' => '
' . sprintf( __( 'Welcome to Version %s!', 'all_in_one_seo_pack' ), AIOSEOP_VERSION )
. '
' . __( 'Thank you for running the latest and greatest All in One SEO Pack ever! Please review your settings, as we\'re always adding new features for you!', 'all_in_one_seo_pack' ) . '
' . __( 'Thank you for running the latest and greatest All in One SEO Pack ever! New since 2.0.3: manage your sitemap with our XML Sitemap module; enable it from our Feature Manager! And please review your settings, we have added some new ones!', 'all_in_one_seo_pack' ) . '
If you like this plugin and find it useful, help keep this plugin free and actively developed by clicking the donate button or send me a gift from my Amazon wishlist. Also, don't forget to follow me on Twitter.
Your database options need to be updated.(Back up your database before updating.)
";
}
?>
Drag and Drop WordPress Design
Headway Themes allows you to easily create your own stunning website designs! Stop using premade themes start making your own design with Headway's easy to use Drag and Drop interface. All in One SEO Pack users have an exclusive discount by using coupon code SEMPERFI30 at checkout.