log_file = dirname( __FILE__ ) . '/all_in_one_seo_pack.log';
if ( !empty( $aioseop_options ) && isset( $aioseop_options['aiosp_do_log'] ) && $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();
$help_text = Array(
"donate" => __( "All donations support continued development of this free software.", 'all_in_one_seo_pack'),
"can" => __( "This option will automatically generate Canonical URLs for your entire WordPress installation. This will help to prevent duplicate content penalties by Google.", 'all_in_one_seo_pack'),
"no_paged_canonical_links"=> __( "Checking this option will set the Canonical URL for all paginated content to the first page.", 'all_in_one_seo_pack'),
"use_original_title" => __( "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' ),
"do_log" => __( "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' ),
"home_title" => __( "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' ),
"home_description" => __( "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' ),
"home_keywords" => __( "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' ),
"togglekeywords" => __( "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' ),
"use_categories" => __( "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' ),
"use_tags_as_keywords" => __( "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' ),
"dynamic_postspage_keywords"=> __( "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'),
"rewrite_titles" => __( "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' ),
"cap_titles" => __( "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' ),
"cap_cats" => __( "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'),
"page_title_format" =>
__( "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' ) . '
' .
'
',
"post_title_format" =>
__( "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' ) . '
' .
'
',
"category_title_format" =>
__( "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' ) . '
',
"archive_title_format" =>
__( "This controls the format of the title tag for Custom Post 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' ) . '
' .
__( '%archive_title - The original archive title given by wordpress', 'all_in_one_seo_pack' ) . '
',
"date_title_format" =>
__( "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' ) . '
',
"author_title_format" =>
__( "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' ) . '
',
"tag_title_format" =>
__( "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' ) . '
',
"search_title_format" =>
__( "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' ) . '
',
"description_format" => __( "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' ) . '
' .
__( '%post_title% - The original title of the post', 'all_in_one_seo_pack' ) . '
' .
__( '%wp_title% - The original wordpress title, e.g. post_title for posts', 'all_in_one_seo_pack' ) . '
',
"404_title_format" => __( "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' ) . '
',
"paged_format" => __( "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' )
. '
',
"enablecpost" => __( "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' ),
"cpostadvanced" => __( "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' ),
"cpostactive" => __( "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' ),
"cposttitles" => __( "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' ),
"posttypecolumns" => __( "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' ),
"admin_bar" => __( "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' ),
"custom_menu_order" => __( "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' ),
"google_verify" => __( "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' ),
"bing_verify" => __( "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' ),
"pinterest_verify" => __( "Enter your verification code here to verify your site with Pinterest. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_publisher" => __( "Enter your Google+ Profile URL here to add the rel=“author” tag to your site for Google authorship. It is recommended that the URL you enter here should be your personal Google+ profile. Use the Advanced Authorship Options below if you want greater control over the use of authorship. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_disable_profile"=> __( "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' ),
"google_author_advanced"=> __( "Enable this to display advanced options for controlling Google Plus authorship information on your website. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_author_location"=> __( "This option allows you to control which types of pages you want to display rel=\"author\" on for Google authorship. The options include the Front Page (the homepage of your site), Posts, Pages, and any Custom Post Types. The Everywhere Else option includes 404, search, categories, tags, custom taxonomies, date archives, author archives and any other page template. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_enable_publisher"=> __( "This option allows you to control whether rel=\"publisher\" is displayed on the homepage of your site. Google recommends using this if the site is a business website. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_specify_publisher"=> __( "The Google+ profile you enter here will appear on your homepage only as the rel=\"publisher\" tag. It is recommended that the URL you enter here should be the Google+ profile for your business. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"google_connect" => __( "Press the connect button to connect with Google Analytics; or if already connected, press the disconnect button to disable and remove any stored analytics credentials.", 'all_in_one_seo_pack' ),
"google_analytics_id" => __( "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' ),
"ga_use_universal_analytics" => __( "Use the new Universal Analytics tracking code for Google Analytics; do this for new analytics accounts.", 'all_in_one_seo_pack' ),
"ga_domain" => __( "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' ),
"ga_multi_domain" => __( "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' ),
"ga_anonymize_ip" => __( "Support for IP Anonymization in Google Analytics.", 'all_in_one_seo_pack' ),
"ga_display_advertising"=> __( "Support for Doubleclick Display Advertising tracking.", 'all_in_one_seo_pack' ),
"ga_exclude_users" => __( "Exclude logged-in users from Google Analytics tracking by role.", 'all_in_one_seo_pack' ),
"ga_track_outbound_links"=> __( "Check this if you want to track outbound links with Google Analytics. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"cpostnoindex" => __( "Set the default NOINDEX setting for each Post Type. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"cpostnofollow" => __( "Set the default NOFOLLOW setting for each Post Type. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"category_noindex" => __( "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' ),
"archive_date_noindex" => __( "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' ),
"archive_author_noindex"=> __( "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' ),
"tags_noindex" => __( "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' ),
"search_noindex" => __( "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' ),
"paginated_noindex" => __( "Check this to ask search engines not to index paginated pages/posts. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"paginated_nofollow" => __( "Check this to ask search engines not to follow links from paginated pages/posts. Useful for avoiding duplicate content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
'noodp' => __( 'Check this box to ask search engines not to use descriptions from the Open Directory Project for your entire site.', 'all_in_one_seo_pack' ),
'noydir' => __( 'Check this box to ask Yahoo! not to use descriptions from the Yahoo! directory for your entire site.', 'all_in_one_seo_pack' ),
"generate_descriptions" => __( "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' ),
"run_shortcodes" => __( "Check this and shortcodes will get executed for descriptions auto-generated from content. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"hide_paginated_descriptions"=> __( "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' ),
"dont_truncate_descriptions"=> __( "Check this to prevent your Description from being truncated regardless of its length. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"schema_markup"=> __( "Check this to support Schema.org markup, i.e., itemprop on supported metadata. Click here for documentation on this setting", 'all_in_one_seo_pack' ),
"unprotect_meta" => __( "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' ),
"ex_pages" => __( "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' ),
"post_meta_tags" => __( "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' ),
"page_meta_tags" => __( "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' ),
"front_meta_tags" => __( "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' ),
"home_meta_tags" => __( "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' ),
);
$meta_help_text = Array(
'snippet' => __( 'A preview of what this page might look like in search engine results.', 'all_in_one_seo_pack' ),
'title' => __( 'A custom title that shows up in the title tag for this page.', 'all_in_one_seo_pack' ),
'description' => __( 'The META description for this page. This will override any autogenerated descriptions.', 'all_in_one_seo_pack' ),
'keywords' => __( 'A comma separated list of your most important keywords for this page that will be written as META keywords.', 'all_in_one_seo_pack' ),
'noindex' => __( 'Check this box to ask search engines not to index this page.', 'all_in_one_seo_pack' ),
'nofollow' => __( 'Check this box to ask search engines not to follow links from this page.', 'all_in_one_seo_pack' ),
'noodp' => __( 'Check this box to ask search engines not to use descriptions from the Open Directory Project for this page.', 'all_in_one_seo_pack' ),
'noydir' => __( 'Check this box to ask Yahoo! not to use descriptions from the Yahoo! directory for this page.', 'all_in_one_seo_pack' ),
'titleatr' => __( 'Set the title attribute for menu links.', 'all_in_one_seo_pack' ),
'menulabel' => __( 'Set the label for this page menu item.', 'all_in_one_seo_pack' ),
'sitemap_exclude' => __( "Don't display this page in the sitemap.", 'all_in_one_seo_pack' ),
'disable' => __( 'Disable SEO on this page.', 'all_in_one_seo_pack' ),
'disable_analytics' => __( 'Disable Google Analytics on this page.', 'all_in_one_seo_pack' )
);
$this->default_options = array(
"donate" => Array(
'name' => __( 'I enjoy this plugin and have made a donation:', 'all_in_one_seo_pack' ) ),
"home_title"=> Array(
'name' => __( 'Home Title:', 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'textarea', 'sanitize' => 'text' ),
"home_description"=> Array(
'name' => __( 'Home Description:', 'all_in_one_seo_pack' ),
'default' => '', 'type' => 'textarea', 'sanitize' => 'text' ),
"togglekeywords" => Array(
'name' => __( 'Use Keywords:', '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' ) )
),
"home_keywords"=> Array(
'name' => __( 'Home Keywords (comma separated):', 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'textarea', 'sanitize' => 'text',
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"can"=> Array(
'name' => __( 'Canonical URLs:', 'all_in_one_seo_pack' ),
'default' => 1),
"no_paged_canonical_links"=> Array(
'name' => __( 'No Pagination for Canonical URLs:', 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( "aiosp_can" => 'on' ) ),
"rewrite_titles"=> Array(
'name' => __( 'Rewrite Titles:', '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' ) )
),
"force_rewrites"=> Array(
'name' => __( 'Force Rewrites:', 'all_in_one_seo_pack' ),
'default' => 1,
'type' => 'hidden',
'prefix' => $this->prefix,
'initial_options' => Array( 1 => __( 'Enabled', 'all_in_one_seo_pack' ),
0 => __( 'Disabled', 'all_in_one_seo_pack' ) )
),
"use_original_title"=> Array(
'name' => __( 'Use Original Title:', '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' ) )
),
"cap_titles"=> Array(
'name' => __( 'Capitalize Titles:', 'all_in_one_seo_pack' ), 'default' => 1),
"cap_cats"=> Array(
'name' => __( 'Capitalize Category Titles:', 'all_in_one_seo_pack' ), 'default' => 1),
"page_title_format"=> Array(
'name' => __( 'Page Title Format:', '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' ),
'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' ),
'type' => 'text', 'default' => '%category_title% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"archive_title_format"=> Array(
'name' => __( 'Archive Title Format:', 'all_in_one_seo_pack' ),
'type' => 'text', 'default' => '%archive_title% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"date_title_format"=> Array(
'name' => __( 'Date Archive Title Format:', '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' ),
'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' ),
'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' ),
'type' => 'text', 'default' => '%search% | %blog_title%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"description_format"=> Array(
'name' => __( 'Description Format', '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' ),
'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' ),
'type' => 'text', 'default' => ' - Part %page%',
'condshow' => Array( "aiosp_rewrite_titles" => 1 ) ),
"enablecpost"=> Array(
'name' => __( 'SEO for Custom Post Types:', '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' ),
'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' ),
'type' => 'multicheckbox', 'default' => array('post', 'page'),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"cpostnoindex" => Array(
'name' => __( 'Default to NOINDEX:', 'all_in_one_seo_pack' ),
'type' => 'multicheckbox', 'default' => array(),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"cpostnofollow" => Array(
'name' => __( 'Default to NOFOLLOW:', 'all_in_one_seo_pack' ),
'type' => 'multicheckbox', 'default' => array(),
'condshow' => Array( 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"cposttitles" => Array(
'name' => __( 'Custom titles:', 'all_in_one_seo_pack' ),
'type' => 'checkbox', 'default' => 0,
'condshow' => Array( "aiosp_rewrite_titles" => 1, 'aiosp_enablecpost' => 'on', 'aiosp_cpostadvanced' => 'on' )
),
"posttypecolumns" => Array(
'name' => __( 'Show Column Labels for Custom Post Types:', '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' ), 'default' => 'on',
),
"custom_menu_order" => Array(
'name' => __( 'Display Menu At The Top:', 'all_in_one_seo_pack' ), 'default' => 'on',
),
"google_verify" => Array(
'name' => __( 'Google Webmaster Tools:', 'all_in_one_seo_pack' ), 'default' => '', 'type' => 'text'
),
"bing_verify" => Array(
'name' => __( 'Bing Webmaster Center:', 'all_in_one_seo_pack' ), 'default' => '', 'type' => 'text'
),
"pinterest_verify" => Array(
'name' => __( 'Pinterest Site Verification:', 'all_in_one_seo_pack' ), 'default' => '', 'type' => 'text'
),
"google_publisher"=> Array(
'name' => __( 'Google Plus Default Profile:', 'all_in_one_seo_pack' ), 'default' => '', 'type' => 'text'
),
"google_disable_profile"=> Array(
'name' => __( 'Disable Google Plus Profile:', 'all_in_one_seo_pack' ), 'default' => 0, 'type' => 'checkbox'
),
"google_author_advanced" => Array(
'name' => __( 'Advanced Authorship Options:', '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
),
"google_author_location"=> Array(
'name' => __( 'Display Google Authorship:', 'all_in_one_seo_pack' ), 'default' => array( 'all' ), 'type' => 'multicheckbox',
'condshow' => Array( 'aiosp_google_author_advanced' => 'on' )
),
"google_enable_publisher" => Array(
'name' => __( 'Display Publisher Meta on Front Page:', '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' ) ),
'condshow' => Array( 'aiosp_google_author_advanced' => 'on' )
),
"google_specify_publisher" => Array(
'name' => __( 'Specify Publisher URL:', 'all_in_one_seo_pack' ), 'type' => 'text',
'condshow' => Array( 'aiosp_google_author_advanced' => 'on', 'aiosp_google_enable_publisher' => 'on' )
),
"google_connect"=>Array( 'name' => __( 'Connect With Google Analytics', 'all_in_one_seo_pack' ),
),
"google_analytics_id"=> Array(
'name' => __( 'Google Analytics ID:', 'all_in_one_seo_pack' ),
'default' => null, 'type' => 'text' ),
"ga_use_universal_analytics" => Array(
'name' => __( 'Use Universal Analytics:', 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_domain"=> Array(
'name' => __( 'Tracking Domain:', 'all_in_one_seo_pack' ),
'type' => 'text',
'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' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_anonymize_ip"=> Array(
'name' => __( 'Anonymize IP Addresses:', 'all_in_one_seo_pack' ),
'type' => 'checkbox',
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_display_advertising"=> Array(
'name' => __( '"Display Advertising" Tracking:', 'all_in_one_seo_pack' ),
'type' => 'checkbox',
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"ga_exclude_users"=> Array(
'name' => __( 'Exclude Users From Tracking:', 'all_in_one_seo_pack' ),
'type' => 'multicheckbox',
'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' ),
'default' => 0,
'condshow' => Array( 'aiosp_google_analytics_id' => Array( 'lhs' => 'aiosp_google_analytics_id', 'op' => '!=', 'rhs' => '' ) ) ),
"use_categories"=> Array(
'name' => __( 'Use Categories for META keywords:', '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' ),
'default' => 1,
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"dynamic_postspage_keywords"=> Array(
'name' => __( 'Dynamically Generate Keywords for Posts Page:', 'all_in_one_seo_pack' ),
'default' => 1,
'condshow' => Array( "aiosp_togglekeywords" => 0 ) ),
"category_noindex"=> Array(
'name' => __( 'Use noindex for Categories:', 'all_in_one_seo_pack' ),
'default' => 1),
"archive_date_noindex"=> Array(
'name' => __( 'Use noindex for Date Archives:', 'all_in_one_seo_pack' ),
'default' => 1),
"archive_author_noindex"=> Array(
'name' => __( 'Use noindex for Author Archives:', 'all_in_one_seo_pack' ),
'default' => 1),
"tags_noindex"=> Array(
'name' => __( 'Use noindex for Tag Archives:', 'all_in_one_seo_pack' ),
'default' => 0),
"search_noindex"=> Array(
'name' => __( 'Use noindex for the Search page:', 'all_in_one_seo_pack' ),
'default' => 0),
"paginated_noindex" => Array(
'name' => __( 'Use noindex for paginated pages/posts:', 'all_in_one_seo_pack' ),
'default' => 0),
"paginated_nofollow"=> Array(
'name' => __( 'Use nofollow for paginated pages/posts:', 'all_in_one_seo_pack' ),
'default' => 0),
"noodp"=> Array(
'name' => __( 'Exclude site from the Open Directory Project:', 'all_in_one_seo_pack' ),
'default' => 0),
"noydir"=> Array(
'name' => __( 'Exclude site from Yahoo! Directory:', 'all_in_one_seo_pack' ),
'default' => 0),
"generate_descriptions"=> Array(
'name' => __( 'Autogenerate Descriptions:', 'all_in_one_seo_pack' ),
'default' => 1),
"run_shortcodes"=> Array(
'name' => __( 'Run Shortcodes In Autogenerated Descriptions:', 'all_in_one_seo_pack' ),
'default' => 0,
'condshow' => Array( 'aiosp_generate_descriptions' => 'on' ) ),
"hide_paginated_descriptions"=> Array(
'name' => __( 'Remove Descriptions For Paginated Pages:', 'all_in_one_seo_pack' ),
'default' => 0),
"dont_truncate_descriptions"=> Array(
'name' => __( 'Never Shorten Long Descriptions:', 'all_in_one_seo_pack' ),
'default' => 0),
"schema_markup"=> Array(
'name' => __( 'Use Schema.org Markup', 'all_in_one_seo_pack' ),
'default' => 1),
"unprotect_meta"=> Array(
'name' => __( 'Unprotect Post Meta Fields:', 'all_in_one_seo_pack' ),
'default' => 0),
"ex_pages" => Array(
'name' => __( 'Exclude Pages:', 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '' ),
"post_meta_tags"=> Array(
'name' => __( 'Additional Post Headers:', 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"page_meta_tags"=> Array(
'name' => __( 'Additional Page Headers:', 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"front_meta_tags"=> Array(
'name' => __( 'Additional Front Page Headers:', 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"home_meta_tags"=> Array(
'name' => __( 'Additional Blog Page Headers:', 'all_in_one_seo_pack' ),
'type' => 'textarea', 'default' => '', 'sanitize' => 'default' ),
"do_log"=> Array(
'name' => __( 'Log important events:', 'all_in_one_seo_pack' ),
'default' => null ),
);
$this->locations = Array(
'default' => Array( 'name' => $this->name, 'prefix' => 'aiosp_', 'type' => 'settings', 'options' => null ),
'aiosp' => Array( 'name' => $this->plugin_name, 'type' => 'metabox', 'prefix' => '', 'help_link' => 'http://semperplugins.com/sections/postpage-settings/',
'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', '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.2: Control who accesses your site with the new Robots.txt Editor and File Editor modules! Enable them from the Feature Manager. Remember to 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.