Platinum SEO Pack - Version 1.2.1

Version Description

Download this release

Release Info

Developer Rajesh Babu
Plugin Icon 128x128 Platinum SEO Pack
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

Files changed (3) hide show
  1. Changelog.txt +7 -0
  2. platinum_seo_pack.php +33 -9
  3. readme.txt +4 -3
Changelog.txt CHANGED
@@ -1,3 +1,10 @@
1
2008-08-17 Rajesh (http://techblissonline.com/)
2
3
* Updated for providing Nofollow option for archive listings
1
+ 2008-10-12 Rajesh (http://techblissonline.com/) - Version 1.2.1
2
+
3
+ * Updated for prviding an option to turn off automatic 301 redirects while changing permalink structure
4
+ (Refer http://techblissonline.com/wordpress-permalink-structure-plugin/)
5
+
6
+ platinum_seo_pack.php
7
+
8
2008-08-17 Rajesh (http://techblissonline.com/)
9
10
* Updated for providing Nofollow option for archive listings
platinum_seo_pack.php CHANGED
@@ -4,7 +4,7 @@
4
Plugin Name: Platinum SEO Pack
5
Plugin URI: http://techblissonline.com/platinum-seo-pack/
6
Description: Complete SEO solution for your Wordpress blog.
7
- Version: 1.2
8
Author: Techblissonline Dot Com
9
Author URI: http://techblissonline.com/
10
*/
@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
29
30
class Platinum_SEO_Pack {
31
32
- var $version = "1.2";
33
34
/** Max numbers of chars in auto-generated description */
35
var $max_description_length = 160;
@@ -1028,7 +1028,7 @@ class Platinum_SEO_Pack {
1028
// End -->
1029
</script>
1030
1031
- <?php if ((substr($this->wp_version, 0, 3) == '2.5') || (substr($this->wp_version, 0, 3) == '2.6')) { ?>
1032
<div id="postpsp" class="postbox closed">
1033
<h3><?php _e('Platinum SEO Pack', 'platinum_seo_pack') ?></h3>
1034
<div class="inside">
@@ -1043,7 +1043,8 @@ class Platinum_SEO_Pack {
1043
<div class="dbx-content">
1044
<?php } ?>
1045
1046
- <a target="__blank" href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Click here for Support', 'platinum_seo_pack') ?></a>
1047
<input value="psp_edit" type="hidden" name="psp_edit" />
1048
<table style="margin-bottom:40px">
1049
<tr>
@@ -1107,7 +1108,7 @@ class Platinum_SEO_Pack {
1107
1108
</table>
1109
1110
- <?php if ((substr($this->wp_version, 0, 3) == '2.5') || (substr($this->wp_version, 0, 3) == '2.6')) { ?>
1111
</div></div></div>
1112
<?php } else { ?>
1113
</div>
@@ -1196,6 +1197,7 @@ class Platinum_SEO_Pack {
1196
update_option('psp_nofollow_ext_links', $_POST['psp_nofollow_ext_links']);
1197
update_option('psp_nofollow_login_reg', $_POST['psp_nofollow_login_reg']);
1198
update_option('psp_nofollow_tag_pages', $_POST['psp_nofollow_tag_pages']);
1199
update_option('aiosp_generate_descriptions', $_POST['psp_generate_descriptions']);
1200
update_option('psp_debug_info', $_POST['psp_debug_info']);
1201
update_option('aiosp_post_meta_tags', $_POST['psp_post_meta_tags']);
@@ -1230,8 +1232,9 @@ class Platinum_SEO_Pack {
1230
&nbsp;
1231
| <a target="_blank" title="<?php _e('FAQ', 'platinum_seo_pack') ?>"
1232
href="http://techblissonline.com/platinum-seo-pack-faq/"><?php _e('FAQ', 'platinum_seo_pack') ?></a>
1233
| <a target="_blank" title="<?php _e('Platinum SEO Plugin Feedback', 'platinum_seo_pack') ?>"
1234
- href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Feedback', 'platinum_seo_pack') ?></a>
1235
| <a target="_blank" title="<?php _e('Donations for Platinum SEO Plugin', 'platinum_seo_pack') ?>"
1236
href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rrajeshbab%40gmail%2ecom&item_name=Platinum%20SEO%20plugin%20development%20and%20support%20expenses&item_number=1&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=IN&bn=PP%2dDonationsBF&charset=UTF%2d8"><?php _e('Please Donate', 'platinum_seo_pack') ?></a>
1237
</p>
@@ -1253,6 +1256,22 @@ href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rrajeshbab%4
1253
<form name="dofollow" action="" method="post">
1254
<table class="form-table">
1255
1256
<tr>
1257
<th scope="row" style="text-align:right; vertical-align:top;">
1258
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_title_tip');">
@@ -1920,6 +1939,7 @@ add_option("psp_nofollow_arc_posts", 0, 'Platinum SEO Plugin Nofollow archives o
1920
add_option("psp_nofollow_ext_links", 0, 'Platinum SEO Plugin Nofollow external links on front page', 'yes');
1921
add_option("psp_nofollow_login_reg", 1, 'Platinum SEO Plugin Nofollow login and register links', 'yes');
1922
add_option("psp_nofollow_tag_pages", 0, 'Platinum SEO Plugin Nofollow links to tag pages', 'yes');
1923
add_option("aiosp_generate_descriptions", 1, 'Platinum SEO Plugin Autogenerate Descriptions', 'yes');
1924
add_option("aiosp_post_title_format", '%post_title% | %blog_title%', 'Platinum SEO Plugin Post Title Format', 'yes');
1925
add_option("aiosp_page_title_format", '%page_title% | %blog_title%', 'Platinum SEO Plugin Page Title Format', 'yes');
@@ -1937,12 +1957,16 @@ add_option("aiosp_do_log", null, 'Platinum SEO Plugin write log file', 'yes');
1937
1938
$psp = new Platinum_SEO_Pack();
1939
add_action('wp_head', array($psp, 'echo_to_blog_header'));
1940
- add_action( 'template_redirect', array($psp, 'has_permalink_changed') );
1941
add_action('get_header', array($psp, 'apply_seo_title'));
1942
1943
add_action('init', array($psp, 'init'));
1944
1945
- if ((substr($psp->wp_version, 0, 3) == '2.5') || (substr($psp->wp_version, 0, 3) == '2.6')) {
1946
add_action('edit_form_advanced', array($psp, 'psp_form_to_add_metatags'));
1947
add_action('edit_page_form', array($psp, 'psp_form_to_add_metatags'));
1948
} else {
@@ -1957,7 +1981,7 @@ add_action('edit_page_form', array($psp, 'add_meta_index_tags'));
1957
1958
add_action('admin_menu', array($psp, 'admin_menu'));
1959
1960
- if ((substr($psp->wp_version, 0, 3) == '2.3') || (substr($psp->wp_version, 0, 3) == '2.5') || (substr($psp->wp_version, 0, 3) == '2.6')) {
1961
if (get_option('psp_comnts_feeds_noindex') || get_option('psp_rss_feeds_noindex')) {
1962
add_action('commentsrss2_head', array($psp,'noindex_feed'));
1963
}
4
Plugin Name: Platinum SEO Pack
5
Plugin URI: http://techblissonline.com/platinum-seo-pack/
6
Description: Complete SEO solution for your Wordpress blog.
7
+ Version: 1.2.1
8
Author: Techblissonline Dot Com
9
Author URI: http://techblissonline.com/
10
*/
29
30
class Platinum_SEO_Pack {
31
32
+ var $version = "1.2.1";
33
34
/** Max numbers of chars in auto-generated description */
35
var $max_description_length = 160;
1028
// End -->
1029
</script>
1030
1031
+ <?php if ((substr($this->wp_version, 0, 3) >= '2.5') || (substr($this->wp_version, 0, 3) == '2.6')) { ?>
1032
<div id="postpsp" class="postbox closed">
1033
<h3><?php _e('Platinum SEO Pack', 'platinum_seo_pack') ?></h3>
1034
<div class="inside">
1043
<div class="dbx-content">
1044
<?php } ?>
1045
1046
+ <a target="__blank" href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Click here for Support', 'platinum_seo_pack') ?></a> |
1047
+ <a target="__blank" href="http://techblissonline.com/meta-robots-tag-indexfollownoindexnofollow-in-platinum-seo-plugin/"><?php _e('Know about the meta tags', 'platinum_seo_pack') ?></a>
1048
<input value="psp_edit" type="hidden" name="psp_edit" />
1049
<table style="margin-bottom:40px">
1050
<tr>
1108
1109
</table>
1110
1111
+ <?php if ((substr($this->wp_version, 0, 3) >= '2.5') || (substr($this->wp_version, 0, 3) == '2.6')) { ?>
1112
</div></div></div>
1113
<?php } else { ?>
1114
</div>
1197
update_option('psp_nofollow_ext_links', $_POST['psp_nofollow_ext_links']);
1198
update_option('psp_nofollow_login_reg', $_POST['psp_nofollow_login_reg']);
1199
update_option('psp_nofollow_tag_pages', $_POST['psp_nofollow_tag_pages']);
1200
+ update_option('psp_permalink_redirect', $_POST['psp_permalink_redirect']);
1201
update_option('aiosp_generate_descriptions', $_POST['psp_generate_descriptions']);
1202
update_option('psp_debug_info', $_POST['psp_debug_info']);
1203
update_option('aiosp_post_meta_tags', $_POST['psp_post_meta_tags']);
1232
&nbsp;
1233
| <a target="_blank" title="<?php _e('FAQ', 'platinum_seo_pack') ?>"
1234
href="http://techblissonline.com/platinum-seo-pack-faq/"><?php _e('FAQ', 'platinum_seo_pack') ?></a>
1235
+ | <a target="_blank" title="<?php _e('Platinum SEO Plugin Feedback', 'platinum_seo_pack') ?>" href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Feedback', 'platinum_seo_pack') ?></a>
1236
| <a target="_blank" title="<?php _e('Platinum SEO Plugin Feedback', 'platinum_seo_pack') ?>"
1237
+ href="http://techblissonline.com/wordpress-seo-plugin-smart-options-benefits/"><?php _e('Wordpress SEO options', 'platinum_seo_pack') ?></a>
1238
| <a target="_blank" title="<?php _e('Donations for Platinum SEO Plugin', 'platinum_seo_pack') ?>"
1239
href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rrajeshbab%40gmail%2ecom&item_name=Platinum%20SEO%20plugin%20development%20and%20support%20expenses&item_number=1&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=IN&bn=PP%2dDonationsBF&charset=UTF%2d8"><?php _e('Please Donate', 'platinum_seo_pack') ?></a>
1240
</p>
1256
<form name="dofollow" action="" method="post">
1257
<table class="form-table">
1258
1259
+ <tr>
1260
+ <th scope="row" style="text-align:right; vertical-align:top;">
1261
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_permalink_redirect_tip');">
1262
+ <?php _e('Automatically do 301 redirects for permalink changes:', 'platinum_seo_pack')?>
1263
+ </a>
1264
+ </td>
1265
+ <td>
1266
+ <input type="checkbox" name="psp_permalink_redirect" <?php if (get_option('psp_permalink_redirect')) echo "checked=\"1\""; ?>/>
1267
+ <div style="max-width:500px; text-align:left; display:none" id="psp_permalink_redirect_tip">
1268
+ <?php
1269
+ _e('Check this to Automatically do 301 redirects for any permalink changes', 'platinum_seo_pack');
1270
+ ?>
1271
+ </div>
1272
+ </td>
1273
+ </tr>
1274
+
1275
<tr>
1276
<th scope="row" style="text-align:right; vertical-align:top;">
1277
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_title_tip');">
1939
add_option("psp_nofollow_ext_links", 0, 'Platinum SEO Plugin Nofollow external links on front page', 'yes');
1940
add_option("psp_nofollow_login_reg", 1, 'Platinum SEO Plugin Nofollow login and register links', 'yes');
1941
add_option("psp_nofollow_tag_pages", 0, 'Platinum SEO Plugin Nofollow links to tag pages', 'yes');
1942
+ add_option("psp_permalink_redirect", 1, 'Platinum SEO Plugin automatic 301 redirect for permalink changes', 'yes');
1943
add_option("aiosp_generate_descriptions", 1, 'Platinum SEO Plugin Autogenerate Descriptions', 'yes');
1944
add_option("aiosp_post_title_format", '%post_title% | %blog_title%', 'Platinum SEO Plugin Post Title Format', 'yes');
1945
add_option("aiosp_page_title_format", '%page_title% | %blog_title%', 'Platinum SEO Plugin Page Title Format', 'yes');
1957
1958
$psp = new Platinum_SEO_Pack();
1959
add_action('wp_head', array($psp, 'echo_to_blog_header'));
1960
+
1961
+ if (get_option('psp_permalink_redirect')) {
1962
+ add_action( 'template_redirect', array($psp, 'has_permalink_changed') );
1963
+ }
1964
+
1965
add_action('get_header', array($psp, 'apply_seo_title'));
1966
1967
add_action('init', array($psp, 'init'));
1968
1969
+ if ((substr($psp->wp_version, 0, 3) >= '2.5') || (substr($psp->wp_version, 0, 3) == '2.6')) {
1970
add_action('edit_form_advanced', array($psp, 'psp_form_to_add_metatags'));
1971
add_action('edit_page_form', array($psp, 'psp_form_to_add_metatags'));
1972
} else {
1981
1982
add_action('admin_menu', array($psp, 'admin_menu'));
1983
1984
+ if ((substr($psp->wp_version, 0, 3) >= '2.3') || (substr($psp->wp_version, 0, 3) == '2.5') || (substr($psp->wp_version, 0, 3) == '2.6')) {
1985
if (get_option('psp_comnts_feeds_noindex') || get_option('psp_rss_feeds_noindex')) {
1986
add_action('commentsrss2_head', array($psp,'noindex_feed'));
1987
}
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
=== Platinum SEO Pack ===
2
- Contributors: Techblissonline Dot Com (Rajesh), Uberdose
3
Donate link: http://techblissonline.com/platinum-seo-pack/
4
Tags: seo, plugin, wordpress, posts, google, meta index,meta keywords,meta description,title,post
5
Requires at least: 1.5
6
- Tested up to: 2.6
7
Stable tag: trunk
8
9
Platinum SEO Plugin offers Complete onsite SEO solution for your Wordpress blog.Platinum SEO Plugin offers all the functionalities of All In One SEO plus more cooler onsite SEO options. It is automatic and also imports all your current settings in All in one SEO Plugin.But you need to disable All In One SEO before enabling Platinum SEO.
@@ -25,6 +25,7 @@ Some features:
25
* Compatible with most other plugins, like Auto Meta, Ultimate Tag Warrior and others.However you may have to disable All in One SEO pack
26
* You don�t have to fear changing permalinks. If you are not satisfied with the current permalink, change it through Settings�>Permalinks in your admin panel, without worrying about loss of Page rank or google penalty.Platinum SEO plugin will take care of issuing a 301 redirect to the new location.This is a new essential feature, not present in All in one SEO
27
* Add index, noindex, follow or nofollow, noodp, noydir, noarchive, nosnippet meta tags to any post/page.These options are not available in All in one SEO Pack.Find out why this option to set post/page level Meta Robots Tag useful?
28
29
30
== Installation ==
@@ -32,7 +33,7 @@ Some features:
32
1. Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
33
the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
34
2. Activate the plugin through the 'Plugins' menu in WordPress
35
- 3. Visit your SEO options (*Options - Platinum SEO*) for Wordpress 2.3.x, (*Settings - Platinum SEO*) for Wordpress 2.5.x & 2.6
36
That's all folks!
37
38
If you have to upgrade manually simply repeat the installation steps.
1
=== Platinum SEO Pack ===
2
+ Contributors: Techblissonline Dot Com (Rajesh)
3
Donate link: http://techblissonline.com/platinum-seo-pack/
4
Tags: seo, plugin, wordpress, posts, google, meta index,meta keywords,meta description,title,post
5
Requires at least: 1.5
6
+ Tested up to: 2.6.2
7
Stable tag: trunk
8
9
Platinum SEO Plugin offers Complete onsite SEO solution for your Wordpress blog.Platinum SEO Plugin offers all the functionalities of All In One SEO plus more cooler onsite SEO options. It is automatic and also imports all your current settings in All in one SEO Plugin.But you need to disable All In One SEO before enabling Platinum SEO.
25
* Compatible with most other plugins, like Auto Meta, Ultimate Tag Warrior and others.However you may have to disable All in One SEO pack
26
* You don�t have to fear changing permalinks. If you are not satisfied with the current permalink, change it through Settings�>Permalinks in your admin panel, without worrying about loss of Page rank or google penalty.Platinum SEO plugin will take care of issuing a 301 redirect to the new location.This is a new essential feature, not present in All in one SEO
27
* Add index, noindex, follow or nofollow, noodp, noydir, noarchive, nosnippet meta tags to any post/page.These options are not available in All in one SEO Pack.Find out why this option to set post/page level Meta Robots Tag useful?
28
+ * Automatic 301 redirects for any permalink changes
29
30
31
== Installation ==
33
1. Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
34
the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
35
2. Activate the plugin through the 'Plugins' menu in WordPress
36
+ 3. Visit your SEO options (*Options - Platinum SEO*) for Wordpress 2.3.x, (*Settings - Platinum SEO*) for Wordpress 2.5.x & 2.6.x
37
That's all folks!
38
39
If you have to upgrade manually simply repeat the installation steps.