Version Description
Download this release
Release Info
| Developer | uberdose |
| Plugin | |
| Version | 1.3.6.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3.6.3 to 1.3.6.4
- all_in_one_seo_pack-tr_TR.mo +0 -0
- all_in_one_seo_pack.php +75 -30
- all_in_one_seo_pack.pot +7 -7
all_in_one_seo_pack-tr_TR.mo
CHANGED
|
Binary file
|
all_in_one_seo_pack.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
|
| 6 |
Description: Out-of-the-box SEO for your Wordpress blog.
|
| 7 |
-
Version: 1.3.6.
|
| 8 |
Author: uberdose
|
| 9 |
Author URI: http://wp.uberdose.com/
|
| 10 |
*/
|
|
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
| 28 |
|
| 29 |
class All_in_One_SEO_Pack {
|
| 30 |
|
| 31 |
-
var $version = "1.3.6.
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Max numbers of chars in auto-generated description.
|
|
@@ -112,7 +112,7 @@ class All_in_One_SEO_Pack {
|
|
| 112 |
$post = $wp_query->get_queried_object();
|
| 113 |
$meta_string = null;
|
| 114 |
|
| 115 |
-
echo "<!-- all in one seo pack $this->version ";
|
| 116 |
if ($this->ob_start_detected) {
|
| 117 |
echo "ob_start_detected ";
|
| 118 |
}
|
|
@@ -126,7 +126,7 @@ class All_in_One_SEO_Pack {
|
|
| 126 |
}
|
| 127 |
if (is_single() || is_page()) {
|
| 128 |
if ($this->is_static_front_page()) {
|
| 129 |
-
$description = trim(
|
| 130 |
} else {
|
| 131 |
$description = $this->get_post_description($post);
|
| 132 |
}
|
|
@@ -134,7 +134,7 @@ class All_in_One_SEO_Pack {
|
|
| 134 |
if ($this->is_static_posts_page()) {
|
| 135 |
$description = $this->get_post_description(get_post(get_option('page_for_posts')));
|
| 136 |
} else {
|
| 137 |
-
$description = trim(
|
| 138 |
}
|
| 139 |
} else if (is_category()) {
|
| 140 |
$description = category_description();
|
|
@@ -191,10 +191,21 @@ class All_in_One_SEO_Pack {
|
|
| 191 |
if ($meta_string != null) {
|
| 192 |
echo "$meta_string\n";
|
| 193 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
}
|
| 195 |
|
| 196 |
function get_post_description($post) {
|
| 197 |
-
$description = trim(
|
| 198 |
if (!$description) {
|
| 199 |
$description = $this->trim_excerpt_without_filters_full_length($post->post_excerpt);
|
| 200 |
if (!$description && get_option("aiosp_generate_descriptions")) {
|
|
@@ -215,7 +226,7 @@ class All_in_One_SEO_Pack {
|
|
| 215 |
$title_tag_end = "</title>";
|
| 216 |
$len_start = strlen($title_tag_start);
|
| 217 |
$len_end = strlen($title_tag_end);
|
| 218 |
-
$title =
|
| 219 |
$start = strpos($content, "<title>");
|
| 220 |
$end = strpos($content, "</title>");
|
| 221 |
|
|
@@ -288,9 +299,9 @@ class All_in_One_SEO_Pack {
|
|
| 288 |
$header = $this->replace_title($header, $title);
|
| 289 |
} else if (is_search() && isset($s) && !empty($s)) {
|
| 290 |
if (function_exists('attribute_escape')) {
|
| 291 |
-
$search = attribute_escape(
|
| 292 |
} else {
|
| 293 |
-
$search = wp_specialchars(
|
| 294 |
}
|
| 295 |
$search = $this->capitalize($search);
|
| 296 |
$title_format = get_option('aiosp_search_title_format');
|
|
@@ -401,13 +412,13 @@ class All_in_One_SEO_Pack {
|
|
| 401 |
}
|
| 402 |
}
|
| 403 |
$text = substr($text, 0, $max);
|
| 404 |
-
return trim(
|
| 405 |
}
|
| 406 |
|
| 407 |
function trim_excerpt_without_filters_full_length($text) {
|
| 408 |
$text = str_replace(']]>', ']]>', $text);
|
| 409 |
$text = strip_tags($text);
|
| 410 |
-
return trim(
|
| 411 |
}
|
| 412 |
|
| 413 |
/**
|
|
@@ -425,7 +436,7 @@ class All_in_One_SEO_Pack {
|
|
| 425 |
$keywords_a = $keywords_i = null;
|
| 426 |
$description_a = $description_i = null;
|
| 427 |
$id = $post->ID;
|
| 428 |
-
$keywords_i =
|
| 429 |
$keywords_i = str_replace('"', '', $keywords_i);
|
| 430 |
if (isset($keywords_i) && !empty($keywords_i)) {
|
| 431 |
$keywords[] = $keywords_i;
|
|
@@ -449,13 +460,13 @@ class All_in_One_SEO_Pack {
|
|
| 449 |
$tag = $tag->tag;
|
| 450 |
$tag = str_replace('_',' ', $tag);
|
| 451 |
$tag = str_replace('-',' ',$tag);
|
| 452 |
-
$tag =
|
| 453 |
$keywords[] = $tag;
|
| 454 |
}
|
| 455 |
}
|
| 456 |
|
| 457 |
// autometa
|
| 458 |
-
$autometa =
|
| 459 |
if (isset($autometa) && !empty($autometa)) {
|
| 460 |
$autometa_array = explode(' ', $autometa);
|
| 461 |
foreach ($autometa_array as $e) {
|
|
@@ -488,7 +499,7 @@ class All_in_One_SEO_Pack {
|
|
| 488 |
$keywords_a = $keywords_i = null;
|
| 489 |
$description_a = $description_i = null;
|
| 490 |
$id = $post->ID;
|
| 491 |
-
$keywords_i =
|
| 492 |
$keywords_i = str_replace('"', '', $keywords_i);
|
| 493 |
if (isset($keywords_i) && !empty($keywords_i)) {
|
| 494 |
$keywords[] = $keywords_i;
|
|
@@ -568,9 +579,9 @@ class All_in_One_SEO_Pack {
|
|
| 568 |
*/
|
| 569 |
function edit_category_form() {
|
| 570 |
global $post;
|
| 571 |
-
$keywords =
|
| 572 |
-
$title =
|
| 573 |
-
$description =
|
| 574 |
?>
|
| 575 |
<input value="aiosp_edit" type="hidden" name="aiosp_edit" />
|
| 576 |
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
|
@@ -597,9 +608,9 @@ class All_in_One_SEO_Pack {
|
|
| 597 |
if (is_object($post_id)) {
|
| 598 |
$post_id = $post_id->ID;
|
| 599 |
}
|
| 600 |
-
$keywords = htmlspecialchars(
|
| 601 |
-
$title = htmlspecialchars(
|
| 602 |
-
$description = htmlspecialchars(
|
| 603 |
?>
|
| 604 |
<SCRIPT LANGUAGE="JavaScript">
|
| 605 |
<!-- Begin
|
|
@@ -638,9 +649,9 @@ class All_in_One_SEO_Pack {
|
|
| 638 |
|
| 639 |
function add_meta_tags_page_textinput() {
|
| 640 |
global $post;
|
| 641 |
-
$keywords = htmlspecialchars(
|
| 642 |
-
$description = htmlspecialchars(
|
| 643 |
-
$title = htmlspecialchars(
|
| 644 |
?>
|
| 645 |
<SCRIPT LANGUAGE="JavaScript">
|
| 646 |
<!-- Begin
|
|
@@ -713,6 +724,8 @@ class All_in_One_SEO_Pack {
|
|
| 713 |
update_option('aiosp_tags_noindex', $_POST['aiosp_tags_noindex']);
|
| 714 |
update_option('aiosp_generate_descriptions', $_POST['aiosp_generate_descriptions']);
|
| 715 |
update_option('aiosp_debug_info', $_POST['aiosp_debug_info']);
|
|
|
|
|
|
|
| 716 |
if (function_exists('wp_cache_flush')) {
|
| 717 |
wp_cache_flush();
|
| 718 |
}
|
|
@@ -743,9 +756,7 @@ href="http://wp.uberdose.com/2007/07/27/all-in-one-seo-pack-release-history/"><p
|
|
| 743 |
//-->
|
| 744 |
</script>
|
| 745 |
<p>
|
| 746 |
-
<a target="_blank" title="<?php _e('
|
| 747 |
-
<?php _e('Help', 'all_in_one_seo_pack') ?></a>
|
| 748 |
-
| <a target="_blank" title="<?php _e('FAQ', 'all_in_one_seo_pack') ?>"
|
| 749 |
href="http://wp.uberdose.com/2007/07/11/all-in-one-seo-pack-faq/"><?php _e('FAQ', 'all_in_one_seo_pack') ?></a>
|
| 750 |
| <a target="_blank" title="<?php _e('All in One SEO Plugin Feedback', 'all_in_one_seo_pack') ?>"
|
| 751 |
href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/#respond"><?php _e('Feedback', 'all_in_one_seo_pack') ?></a>
|
|
@@ -762,7 +773,7 @@ href="http://wp.uberdose.com/2007/10/02/translations-for-all-in-one-seo-pack/"><
|
|
| 762 |
</a>
|
| 763 |
</td>
|
| 764 |
<td>
|
| 765 |
-
<textarea cols="
|
| 766 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_title_tip">
|
| 767 |
<?php
|
| 768 |
_e('As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used.', 'all_in_one_seo_pack');
|
|
@@ -778,7 +789,7 @@ _e('As the name implies, this will be the title of your homepage. This is indepe
|
|
| 778 |
</a>
|
| 779 |
</td>
|
| 780 |
<td>
|
| 781 |
-
<textarea cols="
|
| 782 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_description_tip">
|
| 783 |
<?php
|
| 784 |
_e('The META description for your homepage. Independent of any other options, the default is no META description at all if this is not set.', 'all_in_one_seo_pack');
|
|
@@ -794,7 +805,7 @@ _e('The META description for your homepage. Independent of any other options, th
|
|
| 794 |
</a>
|
| 795 |
</td>
|
| 796 |
<td>
|
| 797 |
-
<textarea cols="
|
| 798 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_keywords_tip">
|
| 799 |
<?php
|
| 800 |
_e('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.', 'all_in_one_seo_pack');
|
|
@@ -1070,6 +1081,38 @@ _e('Check this and your META descriptions will get autogenerated if there’s no
|
|
| 1070 |
</td>
|
| 1071 |
</tr>
|
| 1072 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1073 |
</table>
|
| 1074 |
<p class="submit">
|
| 1075 |
<input type="hidden" name="action" value="aiosp_update" />
|
|
@@ -1100,6 +1143,8 @@ add_option("aiosp_tag_title_format", '%tag% | %blog_title%', 'All in One SEO Plu
|
|
| 1100 |
add_option("aiosp_search_title_format", '%search% | %blog_title%', 'All in One SEO Plugin Search Title Format', 'yes');
|
| 1101 |
add_option("aiosp_description_format", '%description%', 'All in One SEO Plugin Description Format', 'yes');
|
| 1102 |
add_option("aiosp_404_title_format", 'Nothing found for %request_words%', 'All in One SEO Plugin 404 Title Format', 'yes');
|
|
|
|
|
|
|
| 1103 |
|
| 1104 |
$aiosp = new All_in_One_SEO_Pack();
|
| 1105 |
add_action('wp_head', array($aiosp, 'wp_head'));
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
|
| 6 |
Description: Out-of-the-box SEO for your Wordpress blog.
|
| 7 |
+
Version: 1.3.6.4
|
| 8 |
Author: uberdose
|
| 9 |
Author URI: http://wp.uberdose.com/
|
| 10 |
*/
|
| 28 |
|
| 29 |
class All_in_One_SEO_Pack {
|
| 30 |
|
| 31 |
+
var $version = "1.3.6.4";
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Max numbers of chars in auto-generated description.
|
| 112 |
$post = $wp_query->get_queried_object();
|
| 113 |
$meta_string = null;
|
| 114 |
|
| 115 |
+
echo "\n<!-- all in one seo pack $this->version ";
|
| 116 |
if ($this->ob_start_detected) {
|
| 117 |
echo "ob_start_detected ";
|
| 118 |
}
|
| 126 |
}
|
| 127 |
if (is_single() || is_page()) {
|
| 128 |
if ($this->is_static_front_page()) {
|
| 129 |
+
$description = trim(stripcslashes(get_option('aiosp_home_description')));
|
| 130 |
} else {
|
| 131 |
$description = $this->get_post_description($post);
|
| 132 |
}
|
| 134 |
if ($this->is_static_posts_page()) {
|
| 135 |
$description = $this->get_post_description(get_post(get_option('page_for_posts')));
|
| 136 |
} else {
|
| 137 |
+
$description = trim(stripcslashes(get_option('aiosp_home_description')));
|
| 138 |
}
|
| 139 |
} else if (is_category()) {
|
| 140 |
$description = category_description();
|
| 191 |
if ($meta_string != null) {
|
| 192 |
echo "$meta_string\n";
|
| 193 |
}
|
| 194 |
+
|
| 195 |
+
$page_meta = stripcslashes(get_option('aiosp_page_meta_tags'));
|
| 196 |
+
$post_meta = stripcslashes(get_option('aiosp_post_meta_tags'));
|
| 197 |
+
if (is_page() && isset($page_meta)) {
|
| 198 |
+
echo "$page_meta\n";
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
if (is_single() && isset($post_meta)) {
|
| 202 |
+
echo "$post_meta\n";
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
}
|
| 206 |
|
| 207 |
function get_post_description($post) {
|
| 208 |
+
$description = trim(stripcslashes(get_post_meta($post->ID, "description", true)));
|
| 209 |
if (!$description) {
|
| 210 |
$description = $this->trim_excerpt_without_filters_full_length($post->post_excerpt);
|
| 211 |
if (!$description && get_option("aiosp_generate_descriptions")) {
|
| 226 |
$title_tag_end = "</title>";
|
| 227 |
$len_start = strlen($title_tag_start);
|
| 228 |
$len_end = strlen($title_tag_end);
|
| 229 |
+
$title = stripcslashes(trim($title));
|
| 230 |
$start = strpos($content, "<title>");
|
| 231 |
$end = strpos($content, "</title>");
|
| 232 |
|
| 299 |
$header = $this->replace_title($header, $title);
|
| 300 |
} else if (is_search() && isset($s) && !empty($s)) {
|
| 301 |
if (function_exists('attribute_escape')) {
|
| 302 |
+
$search = attribute_escape(stripcslashes($s));
|
| 303 |
} else {
|
| 304 |
+
$search = wp_specialchars(stripcslashes($s), true);
|
| 305 |
}
|
| 306 |
$search = $this->capitalize($search);
|
| 307 |
$title_format = get_option('aiosp_search_title_format');
|
| 412 |
}
|
| 413 |
}
|
| 414 |
$text = substr($text, 0, $max);
|
| 415 |
+
return trim(stripcslashes($text));
|
| 416 |
}
|
| 417 |
|
| 418 |
function trim_excerpt_without_filters_full_length($text) {
|
| 419 |
$text = str_replace(']]>', ']]>', $text);
|
| 420 |
$text = strip_tags($text);
|
| 421 |
+
return trim(stripcslashes($text));
|
| 422 |
}
|
| 423 |
|
| 424 |
/**
|
| 436 |
$keywords_a = $keywords_i = null;
|
| 437 |
$description_a = $description_i = null;
|
| 438 |
$id = $post->ID;
|
| 439 |
+
$keywords_i = stripcslashes(get_post_meta($post->ID, "keywords", true));
|
| 440 |
$keywords_i = str_replace('"', '', $keywords_i);
|
| 441 |
if (isset($keywords_i) && !empty($keywords_i)) {
|
| 442 |
$keywords[] = $keywords_i;
|
| 460 |
$tag = $tag->tag;
|
| 461 |
$tag = str_replace('_',' ', $tag);
|
| 462 |
$tag = str_replace('-',' ',$tag);
|
| 463 |
+
$tag = stripcslashes($tag);
|
| 464 |
$keywords[] = $tag;
|
| 465 |
}
|
| 466 |
}
|
| 467 |
|
| 468 |
// autometa
|
| 469 |
+
$autometa = stripcslashes(get_post_meta($post->ID, "autometa", true));
|
| 470 |
if (isset($autometa) && !empty($autometa)) {
|
| 471 |
$autometa_array = explode(' ', $autometa);
|
| 472 |
foreach ($autometa_array as $e) {
|
| 499 |
$keywords_a = $keywords_i = null;
|
| 500 |
$description_a = $description_i = null;
|
| 501 |
$id = $post->ID;
|
| 502 |
+
$keywords_i = stripcslashes(get_post_meta($post->ID, "keywords", true));
|
| 503 |
$keywords_i = str_replace('"', '', $keywords_i);
|
| 504 |
if (isset($keywords_i) && !empty($keywords_i)) {
|
| 505 |
$keywords[] = $keywords_i;
|
| 579 |
*/
|
| 580 |
function edit_category_form() {
|
| 581 |
global $post;
|
| 582 |
+
$keywords = stripcslashes(get_post_meta($post->ID, 'keywords', true));
|
| 583 |
+
$title = stripcslashes(get_post_meta($post->ID, 'title', true));
|
| 584 |
+
$description = stripcslashes(get_post_meta($post->ID, 'description', true));
|
| 585 |
?>
|
| 586 |
<input value="aiosp_edit" type="hidden" name="aiosp_edit" />
|
| 587 |
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
| 608 |
if (is_object($post_id)) {
|
| 609 |
$post_id = $post_id->ID;
|
| 610 |
}
|
| 611 |
+
$keywords = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'keywords', true)));
|
| 612 |
+
$title = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'title', true)));
|
| 613 |
+
$description = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'description', true)));
|
| 614 |
?>
|
| 615 |
<SCRIPT LANGUAGE="JavaScript">
|
| 616 |
<!-- Begin
|
| 649 |
|
| 650 |
function add_meta_tags_page_textinput() {
|
| 651 |
global $post;
|
| 652 |
+
$keywords = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'keywords', true)));
|
| 653 |
+
$description = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'description', true)));
|
| 654 |
+
$title = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'title', true)));
|
| 655 |
?>
|
| 656 |
<SCRIPT LANGUAGE="JavaScript">
|
| 657 |
<!-- Begin
|
| 724 |
update_option('aiosp_tags_noindex', $_POST['aiosp_tags_noindex']);
|
| 725 |
update_option('aiosp_generate_descriptions', $_POST['aiosp_generate_descriptions']);
|
| 726 |
update_option('aiosp_debug_info', $_POST['aiosp_debug_info']);
|
| 727 |
+
update_option('aiosp_post_meta_tags', $_POST['aiosp_post_meta_tags']);
|
| 728 |
+
update_option('aiosp_page_meta_tags', $_POST['aiosp_page_meta_tags']);
|
| 729 |
if (function_exists('wp_cache_flush')) {
|
| 730 |
wp_cache_flush();
|
| 731 |
}
|
| 756 |
//-->
|
| 757 |
</script>
|
| 758 |
<p>
|
| 759 |
+
<a target="_blank" title="<?php _e('FAQ', 'all_in_one_seo_pack') ?>"
|
|
|
|
|
|
|
| 760 |
href="http://wp.uberdose.com/2007/07/11/all-in-one-seo-pack-faq/"><?php _e('FAQ', 'all_in_one_seo_pack') ?></a>
|
| 761 |
| <a target="_blank" title="<?php _e('All in One SEO Plugin Feedback', 'all_in_one_seo_pack') ?>"
|
| 762 |
href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/#respond"><?php _e('Feedback', 'all_in_one_seo_pack') ?></a>
|
| 773 |
</a>
|
| 774 |
</td>
|
| 775 |
<td>
|
| 776 |
+
<textarea cols="57" rows="2" name="aiosp_home_title"><?php echo stripcslashes(get_option('aiosp_home_title')); ?></textarea>
|
| 777 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_title_tip">
|
| 778 |
<?php
|
| 779 |
_e('As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used.', 'all_in_one_seo_pack');
|
| 789 |
</a>
|
| 790 |
</td>
|
| 791 |
<td>
|
| 792 |
+
<textarea cols="57" rows="2" name="aiosp_home_description"><?php echo stripcslashes(get_option('aiosp_home_description')); ?></textarea>
|
| 793 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_description_tip">
|
| 794 |
<?php
|
| 795 |
_e('The META description for your homepage. Independent of any other options, the default is no META description at all if this is not set.', 'all_in_one_seo_pack');
|
| 805 |
</a>
|
| 806 |
</td>
|
| 807 |
<td>
|
| 808 |
+
<textarea cols="57" rows="2" name="aiosp_home_keywords"><?php echo stripcslashes(get_option('aiosp_home_keywords')); ?></textarea>
|
| 809 |
<div style="max-width:500px; text-align:left; display:none" id="aiosp_home_keywords_tip">
|
| 810 |
<?php
|
| 811 |
_e('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.', 'all_in_one_seo_pack');
|
| 1081 |
</td>
|
| 1082 |
</tr>
|
| 1083 |
|
| 1084 |
+
<tr>
|
| 1085 |
+
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 1086 |
+
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_post_meta_tags_tip');">
|
| 1087 |
+
<?php _e('Additional Post Meta Tags:', 'all_in_one_seo_pack')?>
|
| 1088 |
+
</a>
|
| 1089 |
+
</td>
|
| 1090 |
+
<td>
|
| 1091 |
+
<textarea cols="57" rows="2" name="aiosp_post_meta_tags"><?php echo stripcslashes(get_option('aiosp_post_meta_tags')); ?></textarea>
|
| 1092 |
+
<div style="max-width:500px; text-align:left; display:none" id="aiosp_post_meta_tags_tip">
|
| 1093 |
+
<?php
|
| 1094 |
+
_e('What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional meta tags you want here, even references to stylesheets.', 'all_in_one_seo_pack');
|
| 1095 |
+
?>
|
| 1096 |
+
</div>
|
| 1097 |
+
</td>
|
| 1098 |
+
</tr>
|
| 1099 |
+
|
| 1100 |
+
<tr>
|
| 1101 |
+
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 1102 |
+
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_page_meta_tags_tip');">
|
| 1103 |
+
<?php _e('Additional Page Meta Tags:', 'all_in_one_seo_pack')?>
|
| 1104 |
+
</a>
|
| 1105 |
+
</td>
|
| 1106 |
+
<td>
|
| 1107 |
+
<textarea cols="57" rows="2" name="aiosp_page_meta_tags"><?php echo stripcslashes(get_option('aiosp_page_meta_tags')); ?></textarea>
|
| 1108 |
+
<div style="max-width:500px; text-align:left; display:none" id="aiosp_page_meta_tags_tip">
|
| 1109 |
+
<?php
|
| 1110 |
+
_e('What you enter here will be copied verbatim to your header on pages. You can enter whatever additional meta tags you want here, even references to stylesheets.', 'all_in_one_seo_pack');
|
| 1111 |
+
?>
|
| 1112 |
+
</div>
|
| 1113 |
+
</td>
|
| 1114 |
+
</tr>
|
| 1115 |
+
|
| 1116 |
</table>
|
| 1117 |
<p class="submit">
|
| 1118 |
<input type="hidden" name="action" value="aiosp_update" />
|
| 1143 |
add_option("aiosp_search_title_format", '%search% | %blog_title%', 'All in One SEO Plugin Search Title Format', 'yes');
|
| 1144 |
add_option("aiosp_description_format", '%description%', 'All in One SEO Plugin Description Format', 'yes');
|
| 1145 |
add_option("aiosp_404_title_format", 'Nothing found for %request_words%', 'All in One SEO Plugin 404 Title Format', 'yes');
|
| 1146 |
+
add_option("aiosp_post_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
|
| 1147 |
+
add_option("aiosp_page_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
|
| 1148 |
|
| 1149 |
$aiosp = new All_in_One_SEO_Pack();
|
| 1150 |
add_action('wp_head', array($aiosp, 'wp_head'));
|
all_in_one_seo_pack.pot
CHANGED
|
@@ -45,12 +45,6 @@ msgstr ""
|
|
| 45 |
msgid "All in One SEO Plugin Release History"
|
| 46 |
msgstr ""
|
| 47 |
|
| 48 |
-
msgid "All in One SEO Plugin Help"
|
| 49 |
-
msgstr ""
|
| 50 |
-
|
| 51 |
-
msgid "Help"
|
| 52 |
-
msgstr ""
|
| 53 |
-
|
| 54 |
msgid "FAQ"
|
| 55 |
msgstr ""
|
| 56 |
|
|
@@ -177,7 +171,7 @@ msgstr ""
|
|
| 177 |
msgid "Use noindex for Archives:"
|
| 178 |
msgstr ""
|
| 179 |
|
| 180 |
-
msgid "Check this for excluding archive pages from being crawled. Useful for avoiding duplicate content
|
| 181 |
msgstr ""
|
| 182 |
|
| 183 |
msgid "Use noindex for Tag Archives:"
|
|
@@ -195,3 +189,9 @@ msgstr ""
|
|
| 195 |
msgid "Update Options"
|
| 196 |
msgstr ""
|
| 197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
msgid "All in One SEO Plugin Release History"
|
| 46 |
msgstr ""
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
msgid "FAQ"
|
| 49 |
msgstr ""
|
| 50 |
|
| 171 |
msgid "Use noindex for Archives:"
|
| 172 |
msgstr ""
|
| 173 |
|
| 174 |
+
msgid "Check this for excluding archive pages from being crawled. Useful for avoiding duplicate content."
|
| 175 |
msgstr ""
|
| 176 |
|
| 177 |
msgid "Use noindex for Tag Archives:"
|
| 189 |
msgid "Update Options"
|
| 190 |
msgstr ""
|
| 191 |
|
| 192 |
+
msgid "What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
|
| 193 |
+
msgstr ""
|
| 194 |
+
|
| 195 |
+
msgid "What you enter here will be copied verbatim to your header on pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
|
| 196 |
+
msgstr ""
|
| 197 |
+
|
