Platinum SEO Pack - Version 1.2.2

Version Description

Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.2

Files changed (4) hide show
  1. Changelog.txt +6 -1
  2. platinum_seo_pack.php +18 -25
  3. readme.txt +6 -5
  4. screenshot-3.png +0 -0
Changelog.txt CHANGED
@@ -1,6 +1,11 @@
 
 
 
 
 
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
1
+ 2008-10-12 Rajesh (http://techblissonline.com/) - Version 1.2.2
2
+
3
+ * * Updated for wordpress 2.7
4
+ platinum_seo_pack.php
5
+
6
  2008-10-12 Rajesh (http://techblissonline.com/) - Version 1.2.1
7
 
8
+ * Updated for providing an option to turn off automatic 301 redirects while changing permalink structure
9
  (Refer http://techblissonline.com/wordpress-permalink-structure-plugin/)
10
 
11
  platinum_seo_pack.php
platinum_seo_pack.php CHANGED
@@ -4,8 +4,8 @@
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
  */
11
 
@@ -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.1";
33
 
34
  /** Max numbers of chars in auto-generated description */
35
  var $max_description_length = 160;
@@ -334,7 +334,7 @@ class Platinum_SEO_Pack {
334
  if ($this->ob_start_detected) {
335
  echo "ob_start_detected ";
336
  }
337
- echo "[$this->title_start,$this->title_end] ";
338
  echo "-->\n";
339
 
340
  if ((is_home() && get_option('aiosp_home_keywords'))) { // || $this->is_static_front_page()) {
@@ -1027,13 +1027,8 @@ class Platinum_SEO_Pack {
1027
  }
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">
1035
- <div id="postpsp">
1036
- <?php } else { ?>
1037
  <div class="dbx-b-ox-wrapper">
1038
  <fieldset id="seodiv" class="dbx-box">
1039
  <div class="dbx-h-andle-wrapper">
@@ -1106,17 +1101,14 @@ class Platinum_SEO_Pack {
1106
  </tr>
1107
  <?php } ?>
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>
1115
  </fieldset>
1116
  </div>
1117
  <?php } ?>
1118
-
1119
- <?php
1120
  }
1121
 
1122
  function admin_menu() {
@@ -1128,6 +1120,15 @@ class Platinum_SEO_Pack {
1128
  }
1129
  //add_management_page(__('Platinum SEO Title', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'management_panel'));
1130
  add_submenu_page('options-general.php', __('Platinum SEO', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'options_panel'));
 
 
 
 
 
 
 
 
 
1131
  }
1132
 
1133
  function management_panel() {
@@ -1966,14 +1967,6 @@ 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 {
1973
- add_action('dbx_post_advanced', array($psp, 'psp_form_to_add_metatags'));
1974
- add_action('dbx_page_advanced', array($psp, 'psp_form_to_add_metatags'));
1975
- }
1976
-
1977
  add_action('edit_post', array($psp, 'add_meta_index_tags'));
1978
  add_action('publish_post', array($psp, 'add_meta_index_tags'));
1979
  add_action('save_post', array($psp, 'add_meta_index_tags'));
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.2
8
+ Author: Rajesh - Techblissonline Dot Com
9
  Author URI: http://techblissonline.com/
10
  */
11
 
29
 
30
  class Platinum_SEO_Pack {
31
 
32
+ var $version = "1.2.2";
33
 
34
  /** Max numbers of chars in auto-generated description */
35
  var $max_description_length = 160;
334
  if ($this->ob_start_detected) {
335
  echo "ob_start_detected ";
336
  }
337
+ //echo "[$this->title_start,$this->title_end] ";
338
  echo "-->\n";
339
 
340
  if ((is_home() && get_option('aiosp_home_keywords'))) { // || $this->is_static_front_page()) {
1027
  }
1028
  // End -->
1029
  </script>
1030
+
1031
+ <?php if ((substr($this->wp_version, 0, 3) < '2.5')) { ?>
 
 
 
 
 
1032
  <div class="dbx-b-ox-wrapper">
1033
  <fieldset id="seodiv" class="dbx-box">
1034
  <div class="dbx-h-andle-wrapper">
1101
  </tr>
1102
  <?php } ?>
1103
 
1104
+ </table>
1105
 
1106
+ <?php if ((substr($this->wp_version, 0, 3) < '2.5')) { ?>
 
 
1107
  </div>
1108
  </fieldset>
1109
  </div>
1110
  <?php } ?>
1111
+ <?php
 
1112
  }
1113
 
1114
  function admin_menu() {
1120
  }
1121
  //add_management_page(__('Platinum SEO Title', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'management_panel'));
1122
  add_submenu_page('options-general.php', __('Platinum SEO', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'options_panel'));
1123
+ if( function_exists( 'add_meta_box' )) {
1124
+ add_meta_box( 'postpsp', __( 'Platinum SEO Pack', 'platinum_seo_pack' ),
1125
+ array($this, 'psp_form_to_add_metatags'), 'post', 'advanced' );
1126
+ add_meta_box( 'postpsp', __( 'Platinum SEO Pack', 'platinum_seo_pack' ),
1127
+ array($this, 'psp_form_to_add_metatags'), 'page', 'advanced' );
1128
+ } else {
1129
+ add_action('dbx_post_advanced', 'psp_form_to_add_metatags' );
1130
+ add_action('dbx_page_advanced', 'psp_form_to_add_metatags' );
1131
+ }
1132
  }
1133
 
1134
  function management_panel() {
1967
 
1968
  add_action('init', array($psp, 'init'));
1969
 
 
 
 
 
 
 
 
 
1970
  add_action('edit_post', array($psp, 'add_meta_index_tags'));
1971
  add_action('publish_post', array($psp, 'add_meta_index_tags'));
1972
  add_action('save_post', array($psp, 'add_meta_index_tags'));
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.
@@ -18,14 +18,15 @@ Platinum SEO Plugin offers Complete onsite SEO solution for your Wordpress blog.
18
 
19
  Some features:
20
 
 
21
  * Optimized Post and Page Titles for search engines
22
  * Generates all SEO relevant META tags automatically
23
  * Helps you avoid duplicate content
24
  * Lets you override any title and set any META description and META keywords, for any post or page
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,7 +34,7 @@ Some features:
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.
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.7
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.
18
 
19
  Some features:
20
 
21
+ * Automatic 301 redirects for any permalink changes
22
  * Optimized Post and Page Titles for search engines
23
  * Generates all SEO relevant META tags automatically
24
  * Helps you avoid duplicate content
25
  * Lets you override any title and set any META description and META keywords, for any post or page
26
  * Compatible with most other plugins, like Auto Meta, Ultimate Tag Warrior and others.However you may have to disable All in One SEO pack
27
+ * 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
28
+ * 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?
29
+
30
 
31
 
32
  == Installation ==
34
  1. Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
35
  the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
36
  2. Activate the plugin through the 'Plugins' menu in WordPress
37
+ 3. Visit your SEO options (*Options - Platinum SEO*) for Wordpress 2.3.x, (*Settings - Platinum SEO*) for Wordpress 2.5.x, 2.6.x & 2.7
38
  That's all folks!
39
 
40
  If you have to upgrade manually simply repeat the installation steps.
screenshot-3.png ADDED
Binary file