Version Description
- 2020-07-06 - A change has been made whereby the user is given an option to choose to display either the Home Page Settings(default) or the platinum SEO settings for the Static Page chosen as the Home Page (Front Page). This option isn't necessary for everyone, unless you are using, say, multilingual plugins like Polylang where multiple pages can be chosen as the Front Page i.e. one for each language. This need not be enabled by others. Deprecated noodp, noydir robots meta tags.
Download this release
Release Info
Developer | Rajesh Babu |
Plugin | Platinum SEO Pack |
Version | 2.1.5 |
Comparing to | |
See all releases |
Code changes from version 2.1.4 to 2.1.5
- Changelog.txt +11 -7
- platinum-seo-pack.php +1 -1
- psp-include/generators/psp_home_others_seo_metas.php +11 -11
- psp-include/generators/psp_pts_seo_metas.php +2 -2
- psp-include/generators/psp_tax_seo_metas.php +3 -3
- psp-include/settings/psp_settings.php +23 -5
- psp-include/utilities/psp_helper.php +1 -1
- psp_main.php +129 -34
- readme.txt +23 -18
Changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 2.1.4 =
|
2 |
* 2020-06-23 - You can now set a preferred Term for every POST. This can be set for the chosen Preferred Taxonomy.
|
3 |
Fixed a bug in sitemap date display. Introduced an analyse button in Analysis screen which will calculate the metrics for the most recent unsaved changes in content. Adds nofollow to Post comment feed links as suggested by Google. the plugin will also hide the main comment feed link by default.
|
@@ -32,7 +36,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
32 |
* 2020-02-21 - Introduces Patinum SEO Content analysis that does a basic analysis of your content for focus keywords that you need to enter in meta ketwords input field as comma separated items. Note that meta keywords can be turned off sitewide in SEO -> General settings, if you do not want to add a meta keywords tag for posts and /or pages. You can even control it at the post or page level by switching it On/Off, if the sitewide setting is ON. Sitewide setting is Off by default. But you can get content analysis findings in your analysis dashboard, even if it is switched off. Also fixed a few other minor bugs.
|
33 |
|
34 |
= 2.0.4 =
|
35 |
-
* 2020-02-12 - Changed a style setting to apply to this plugin admin pages alone thereby avoiding conflict with
|
36 |
|
37 |
= 2.0.3 =
|
38 |
* 2020-02-11 - Made some changes to UI to improve usability. Also fixed a small superficial bug in snippet preview. Colors codes have been used. Blue is neutral or normal and can be positive or negative depending on the situation. Green indicates positive and recommended. Red indicates negative and not recommended. Users have to be doubly sure to make an option red. Orange indicates a warning and the users need to be careful.
|
@@ -49,7 +53,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
49 |
= 1.3.8 =
|
50 |
* 2013-09-12 - Fixed a security issue (thanks to James Pearson)
|
51 |
= 1.3.7 =
|
52 |
-
* 2010-12-01 - Just a day after I released 1.3.6,
|
53 |
|
54 |
= 1.3.6 =
|
55 |
* 2010-11-30 - Added Plugin meta box for custom post types - Version 1.3.6
|
@@ -70,7 +74,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
70 |
|
71 |
2009-10-04 Rajesh (http://techblissonline.com/) - Version 1.3
|
72 |
* Added an option to turn off post/page title format set in platinum seo settings for any particular post/page.
|
73 |
-
* Platinum seo will have its own top level menu in
|
74 |
* Added a migration form for migrating from All in one seo to platinum seo.
|
75 |
|
76 |
2009-09-27 Rajesh (http://techblissonline.com/) - Version 1.2.9
|
@@ -85,7 +89,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
85 |
|
86 |
2009-08-30 Rajesh (http://techblissonline.com/) - Version 1.2.7
|
87 |
|
88 |
-
* added options to specify meta description and meta tags for
|
89 |
platinum_seo_pack.php
|
90 |
|
91 |
2009-05-25 Rajesh (http://techblissonline.com/) - Version 1.2.6
|
@@ -106,13 +110,13 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
106 |
|
107 |
2008-01-04 Rajesh (http://techblissonline.com/) - Version 1.2.3
|
108 |
|
109 |
-
* Introduced an option to noindex comments pages of posts, if the option to break comments into pages is chosen in
|
110 |
* Automatically add nofollow tag to category links in breadcrumbs if the PSP options nofollow category listings on posts or nofollow category listings on pages is chosen.
|
111 |
platinum_seo_pack.php
|
112 |
|
113 |
2008-12-28 Rajesh (http://techblissonline.com/) - Version 1.2.2
|
114 |
|
115 |
-
* Updated for
|
116 |
platinum_seo_pack.php
|
117 |
|
118 |
2008-10-12 Rajesh (http://techblissonline.com/) - Version 1.2.1
|
@@ -129,7 +133,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
129 |
|
130 |
2008-07-17 Rajesh (http://techblissonline.com/)
|
131 |
|
132 |
-
* Updated for
|
133 |
platinum_seo_pack.php
|
134 |
|
135 |
2008-06-25 Rajesh (http://techblissonline.com/)
|
1 |
+
= 2.1.5 =
|
2 |
+
* 2020-07-06 - A change has been made whereby the user is given an option to choose to display either the Home Page Settings(default) or the platinum SEO settings for the Static Page chosen as the Home Page (Front Page). This option isn't necessary for everyone, unless you are using, say, multilingual plugins like Polylang where multiple pages can be chosen as the Front Page i.e. one for each language. This need not be enabled by others.
|
3 |
+
Deprecated noodp, noydir robots meta tags.
|
4 |
+
|
5 |
= 2.1.4 =
|
6 |
* 2020-06-23 - You can now set a preferred Term for every POST. This can be set for the chosen Preferred Taxonomy.
|
7 |
Fixed a bug in sitemap date display. Introduced an analyse button in Analysis screen which will calculate the metrics for the most recent unsaved changes in content. Adds nofollow to Post comment feed links as suggested by Google. the plugin will also hide the main comment feed link by default.
|
36 |
* 2020-02-21 - Introduces Patinum SEO Content analysis that does a basic analysis of your content for focus keywords that you need to enter in meta ketwords input field as comma separated items. Note that meta keywords can be turned off sitewide in SEO -> General settings, if you do not want to add a meta keywords tag for posts and /or pages. You can even control it at the post or page level by switching it On/Off, if the sitewide setting is ON. Sitewide setting is Off by default. But you can get content analysis findings in your analysis dashboard, even if it is switched off. Also fixed a few other minor bugs.
|
37 |
|
38 |
= 2.0.4 =
|
39 |
+
* 2020-02-12 - Changed a style setting to apply to this plugin admin pages alone thereby avoiding conflict with WordPress admin and other plugin style settings. Created options for users to specify Facebook OG type and Twitter card type for each individual post or page in Basic social settings.
|
40 |
|
41 |
= 2.0.3 =
|
42 |
* 2020-02-11 - Made some changes to UI to improve usability. Also fixed a small superficial bug in snippet preview. Colors codes have been used. Blue is neutral or normal and can be positive or negative depending on the situation. Green indicates positive and recommended. Red indicates negative and not recommended. Users have to be doubly sure to make an option red. Orange indicates a warning and the users need to be careful.
|
53 |
= 1.3.8 =
|
54 |
* 2013-09-12 - Fixed a security issue (thanks to James Pearson)
|
55 |
= 1.3.7 =
|
56 |
+
* 2010-12-01 - Just a day after I released 1.3.6, WordPress released 3.0.2 to fix a few security issues.I am releasing a fresh version after testing with this one
|
57 |
|
58 |
= 1.3.6 =
|
59 |
* 2010-11-30 - Added Plugin meta box for custom post types - Version 1.3.6
|
74 |
|
75 |
2009-10-04 Rajesh (http://techblissonline.com/) - Version 1.3
|
76 |
* Added an option to turn off post/page title format set in platinum seo settings for any particular post/page.
|
77 |
+
* Platinum seo will have its own top level menu in WordPress admin panel.
|
78 |
* Added a migration form for migrating from All in one seo to platinum seo.
|
79 |
|
80 |
2009-09-27 Rajesh (http://techblissonline.com/) - Version 1.2.9
|
89 |
|
90 |
2009-08-30 Rajesh (http://techblissonline.com/) - Version 1.2.7
|
91 |
|
92 |
+
* added options to specify meta description and meta tags for WordPress category and tag pages.
|
93 |
platinum_seo_pack.php
|
94 |
|
95 |
2009-05-25 Rajesh (http://techblissonline.com/) - Version 1.2.6
|
110 |
|
111 |
2008-01-04 Rajesh (http://techblissonline.com/) - Version 1.2.3
|
112 |
|
113 |
+
* Introduced an option to noindex comments pages of posts, if the option to break comments into pages is chosen in WordPress 2.7
|
114 |
* Automatically add nofollow tag to category links in breadcrumbs if the PSP options nofollow category listings on posts or nofollow category listings on pages is chosen.
|
115 |
platinum_seo_pack.php
|
116 |
|
117 |
2008-12-28 Rajesh (http://techblissonline.com/) - Version 1.2.2
|
118 |
|
119 |
+
* Updated for WordPress 2.7
|
120 |
platinum_seo_pack.php
|
121 |
|
122 |
2008-10-12 Rajesh (http://techblissonline.com/) - Version 1.2.1
|
133 |
|
134 |
2008-07-17 Rajesh (http://techblissonline.com/)
|
135 |
|
136 |
+
* Updated for WordPress 2.6
|
137 |
platinum_seo_pack.php
|
138 |
|
139 |
2008-06-25 Rajesh (http://techblissonline.com/)
|
platinum-seo-pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Platinum SEO Pack
|
5 |
Plugin URI: https://techblissonline.com/platinum-wordpress-seo-plugin/
|
6 |
Description: Complete SEO and Social optimization solution for your Wordpress blog/site. It is Simple, Uncomplicated and User friendly with several useful features.
|
7 |
-
Version: 2.1.
|
8 |
Author: Techblissonline.com (Rajesh)
|
9 |
Author URI: https://techblissonline.com/
|
10 |
Text Domain: platinum-seo-pack
|
4 |
Plugin Name: Platinum SEO Pack
|
5 |
Plugin URI: https://techblissonline.com/platinum-wordpress-seo-plugin/
|
6 |
Description: Complete SEO and Social optimization solution for your Wordpress blog/site. It is Simple, Uncomplicated and User friendly with several useful features.
|
7 |
+
Version: 2.1.5
|
8 |
Author: Techblissonline.com (Rajesh)
|
9 |
Author URI: https://techblissonline.com/
|
10 |
Text Domain: platinum-seo-pack
|
psp-include/generators/psp_home_others_seo_metas.php
CHANGED
@@ -111,7 +111,7 @@ class PspHomeOthersSeoMetas {
|
|
111 |
$robots_meta .= $this->nosnippet_tag;
|
112 |
|
113 |
}
|
114 |
-
|
115 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
116 |
|
117 |
if ($robots_meta != "") {
|
@@ -130,7 +130,7 @@ class PspHomeOthersSeoMetas {
|
|
130 |
$robots_meta .= $this->noydir_tag;
|
131 |
|
132 |
}
|
133 |
-
|
134 |
if ($robots_meta != "" ) {
|
135 |
|
136 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
@@ -261,7 +261,7 @@ class PspHomeOthersSeoMetas {
|
|
261 |
$robots_meta .= $this->nosnippet_tag;
|
262 |
|
263 |
}
|
264 |
-
|
265 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
266 |
|
267 |
if ($robots_meta != "") {
|
@@ -280,7 +280,7 @@ class PspHomeOthersSeoMetas {
|
|
280 |
$robots_meta .= $this->noydir_tag;
|
281 |
|
282 |
}
|
283 |
-
|
284 |
if ($robots_meta != "" ) {
|
285 |
|
286 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
@@ -341,7 +341,7 @@ class PspHomeOthersSeoMetas {
|
|
341 |
$robots_meta .= $this->nosnippet_tag;
|
342 |
|
343 |
}
|
344 |
-
|
345 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
346 |
|
347 |
if ($robots_meta != "") {
|
@@ -350,7 +350,7 @@ class PspHomeOthersSeoMetas {
|
|
350 |
|
351 |
$robots_meta .= $this->noodp_tag;
|
352 |
}
|
353 |
-
|
354 |
if (isset($psp_settings['use_meta_noydir']) && $psp_settings['use_meta_noydir']) {
|
355 |
|
356 |
if ($robots_meta != "") {
|
@@ -360,7 +360,7 @@ class PspHomeOthersSeoMetas {
|
|
360 |
$robots_meta .= $this->noydir_tag;
|
361 |
|
362 |
}
|
363 |
-
|
364 |
if ($robots_meta != "" ) {
|
365 |
|
366 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
@@ -444,7 +444,7 @@ class PspHomeOthersSeoMetas {
|
|
444 |
$robots_meta .= $this->nosnippet_tag;
|
445 |
|
446 |
}
|
447 |
-
|
448 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
449 |
|
450 |
if ($robots_meta != "") {
|
@@ -463,7 +463,7 @@ class PspHomeOthersSeoMetas {
|
|
463 |
$robots_meta .= $this->noydir_tag;
|
464 |
|
465 |
}
|
466 |
-
|
467 |
if ($robots_meta != "" ) {
|
468 |
|
469 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
@@ -573,7 +573,7 @@ class PspHomeOthersSeoMetas {
|
|
573 |
$robots_meta .= $this->nosnippet_tag;
|
574 |
|
575 |
}
|
576 |
-
|
577 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
578 |
|
579 |
if ($robots_meta != "") {
|
@@ -592,7 +592,7 @@ class PspHomeOthersSeoMetas {
|
|
592 |
$robots_meta .= $this->noydir_tag;
|
593 |
|
594 |
}
|
595 |
-
|
596 |
if ($robots_meta != "" ) {
|
597 |
|
598 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
111 |
$robots_meta .= $this->nosnippet_tag;
|
112 |
|
113 |
}
|
114 |
+
/**
|
115 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
116 |
|
117 |
if ($robots_meta != "") {
|
130 |
$robots_meta .= $this->noydir_tag;
|
131 |
|
132 |
}
|
133 |
+
**/
|
134 |
if ($robots_meta != "" ) {
|
135 |
|
136 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
261 |
$robots_meta .= $this->nosnippet_tag;
|
262 |
|
263 |
}
|
264 |
+
/**
|
265 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
266 |
|
267 |
if ($robots_meta != "") {
|
280 |
$robots_meta .= $this->noydir_tag;
|
281 |
|
282 |
}
|
283 |
+
**/
|
284 |
if ($robots_meta != "" ) {
|
285 |
|
286 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
341 |
$robots_meta .= $this->nosnippet_tag;
|
342 |
|
343 |
}
|
344 |
+
/**
|
345 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
346 |
|
347 |
if ($robots_meta != "") {
|
350 |
|
351 |
$robots_meta .= $this->noodp_tag;
|
352 |
}
|
353 |
+
|
354 |
if (isset($psp_settings['use_meta_noydir']) && $psp_settings['use_meta_noydir']) {
|
355 |
|
356 |
if ($robots_meta != "") {
|
360 |
$robots_meta .= $this->noydir_tag;
|
361 |
|
362 |
}
|
363 |
+
**/
|
364 |
if ($robots_meta != "" ) {
|
365 |
|
366 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
444 |
$robots_meta .= $this->nosnippet_tag;
|
445 |
|
446 |
}
|
447 |
+
/**
|
448 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
449 |
|
450 |
if ($robots_meta != "") {
|
463 |
$robots_meta .= $this->noydir_tag;
|
464 |
|
465 |
}
|
466 |
+
**/
|
467 |
if ($robots_meta != "" ) {
|
468 |
|
469 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
573 |
$robots_meta .= $this->nosnippet_tag;
|
574 |
|
575 |
}
|
576 |
+
/**
|
577 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
578 |
|
579 |
if ($robots_meta != "") {
|
592 |
$robots_meta .= $this->noydir_tag;
|
593 |
|
594 |
}
|
595 |
+
**/
|
596 |
if ($robots_meta != "" ) {
|
597 |
|
598 |
$robots_meta_string .= '<meta name="robots" content="'.esc_attr($robots_meta).'" />';
|
psp-include/generators/psp_pts_seo_metas.php
CHANGED
@@ -216,7 +216,7 @@ class PspPtsSeoMetas {
|
|
216 |
$robots_meta .= $this->noarchive_tag;
|
217 |
|
218 |
}
|
219 |
-
|
220 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
221 |
|
222 |
if ($robots_meta != "") {
|
@@ -235,7 +235,7 @@ class PspPtsSeoMetas {
|
|
235 |
$robots_meta .= $this->noydir_tag;
|
236 |
|
237 |
}
|
238 |
-
|
239 |
$psp_nosnippet = !empty($psp_post_meta['nosnippet']) ? htmlspecialchars(stripcslashes($psp_post_meta['nosnippet'])) : '';
|
240 |
$psp_maxsnippet = !empty($psp_post_meta['maxsnippet']) ? htmlspecialchars(stripcslashes($psp_post_meta['maxsnippet'])) : '';
|
241 |
|
216 |
$robots_meta .= $this->noarchive_tag;
|
217 |
|
218 |
}
|
219 |
+
/**
|
220 |
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
221 |
|
222 |
if ($robots_meta != "") {
|
235 |
$robots_meta .= $this->noydir_tag;
|
236 |
|
237 |
}
|
238 |
+
**/
|
239 |
$psp_nosnippet = !empty($psp_post_meta['nosnippet']) ? htmlspecialchars(stripcslashes($psp_post_meta['nosnippet'])) : '';
|
240 |
$psp_maxsnippet = !empty($psp_post_meta['maxsnippet']) ? htmlspecialchars(stripcslashes($psp_post_meta['maxsnippet'])) : '';
|
241 |
|
psp-include/generators/psp_tax_seo_metas.php
CHANGED
@@ -167,8 +167,8 @@ class PspTaxSeoMetas {
|
|
167 |
$robots_meta .= $this->noarchive_tag;
|
168 |
|
169 |
}
|
170 |
-
|
171 |
-
|
172 |
|
173 |
if ($robots_meta != "") {
|
174 |
$robots_meta .= ",";
|
@@ -186,7 +186,7 @@ class PspTaxSeoMetas {
|
|
186 |
$robots_meta .= $this->noydir_tag;
|
187 |
|
188 |
}
|
189 |
-
|
190 |
$psp_nosnippet = isset($term_meta['nosnippet']) ? htmlspecialchars(stripcslashes($term_meta['nosnippet'])) : "";
|
191 |
$psp_maxsnippet = !empty($term_meta['maxsnippet']) ? htmlspecialchars(stripcslashes($term_meta['maxsnippet'])) : '';
|
192 |
|
167 |
$robots_meta .= $this->noarchive_tag;
|
168 |
|
169 |
}
|
170 |
+
/**
|
171 |
+
if (isset($psp_settings['use_meta_noodp']) && $psp_settings['use_meta_noodp']) {
|
172 |
|
173 |
if ($robots_meta != "") {
|
174 |
$robots_meta .= ",";
|
186 |
$robots_meta .= $this->noydir_tag;
|
187 |
|
188 |
}
|
189 |
+
**/
|
190 |
$psp_nosnippet = isset($term_meta['nosnippet']) ? htmlspecialchars(stripcslashes($term_meta['nosnippet'])) : "";
|
191 |
$psp_maxsnippet = !empty($term_meta['maxsnippet']) ? htmlspecialchars(stripcslashes($term_meta['maxsnippet'])) : '';
|
192 |
|
psp-include/settings/psp_settings.php
CHANGED
@@ -364,6 +364,21 @@ class PspSettings {
|
|
364 |
//add Section
|
365 |
add_settings_section( 'psp_section_home', esc_html__('Home Page SEO Settings', 'platinum-seo-pack' ), array( &$this, 'section_home_desc' ), $this->psp_home_settings_group );
|
366 |
//add fields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
$title_field = array (
|
368 |
'label_for' => 'psp_home_title',
|
369 |
'option_name' => $psp_home_settings_name.'[title]',
|
@@ -380,7 +395,7 @@ class PspSettings {
|
|
380 |
'label_for' => 'psp_home_keywords',
|
381 |
'option_name' => $psp_home_settings_name.'[keywords]',
|
382 |
'option_value' => isset($psp_home_settings['keywords']) ? stripcslashes(esc_attr($psp_home_settings['keywords'])) : '',
|
383 |
-
'option_description' => esc_html__( 'Google and most other Search engines do not use or support the meta keywords tag. If you still find it necessary to use this tag for any specific reason of yours, you may add comma separated primary entities or keywords for the Home page here.These will be displayed as meta keywords tag. Leaving it empty will disable this tag for the
|
384 |
);
|
385 |
|
386 |
$home_header_metas = isset($psp_home_settings['headers']) ? html_entity_decode(stripcslashes(esc_attr($psp_home_settings['headers']))) : '';
|
@@ -426,7 +441,7 @@ class PspSettings {
|
|
426 |
//add_settings_field( 'psp_home_description', '<a href="'.home_url().'" target="_blank">'.__('Home Page Meta Description: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $desc_field );
|
427 |
//add_settings_field( 'psp_home_keywords', '<a href="'.home_url().'" target="_blank">'.__('Home Page Meta Keywords: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $keywords_field );
|
428 |
//add_settings_field( 'psp_home_additional_headers', '<a href="'.home_url().'" target="_blank">'.__('Additional Home Page Headers: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $additional_headers_field );
|
429 |
-
|
430 |
add_settings_field( 'psp_home_title', esc_html__('Home Page Title: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $title_field);
|
431 |
add_settings_field( 'psp_home_description', esc_html__('Home Page Meta Description: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $desc_field );
|
432 |
add_settings_field( 'psp_home_keywords', esc_html__('Home Page Meta Keywords: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $keywords_field );
|
@@ -435,7 +450,10 @@ class PspSettings {
|
|
435 |
}
|
436 |
|
437 |
function sanitize_home_settings($settings) {
|
438 |
-
|
|
|
|
|
|
|
439 |
if( isset( $settings['title'] ) ) $settings['title'] = sanitize_text_field( $settings['title'] );
|
440 |
if( isset( $settings['description'] ) ) $settings['description'] = sanitize_textarea_field( $settings['description'] );
|
441 |
if( isset( $settings['keywords'] ) ) $settings['keywords'] = sanitize_text_field( $settings['keywords'] );
|
@@ -626,7 +644,7 @@ class PspSettings {
|
|
626 |
$use_meta_noodp_field_id = 'psp_'.$setting_name.'_use_meta_noodp';
|
627 |
$use_meta_noodp_field_title = esc_html__( 'Use noodp: ', 'platinum-seo-pack' );
|
628 |
|
629 |
-
add_settings_field( $use_meta_noodp_field_id, $use_meta_noodp_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_general_settings_group, $section_id, $use_meta_noodp_field );
|
630 |
|
631 |
//noydir
|
632 |
$use_meta_noydir_field = array (
|
@@ -639,7 +657,7 @@ class PspSettings {
|
|
639 |
$use_meta_noydir_field_id = 'psp_'.$setting_name.'_use_meta_noydir';
|
640 |
$use_meta_noydir_field_title = esc_html__( 'Use noydir: ', 'platinum-seo-pack' );;
|
641 |
|
642 |
-
add_settings_field( $use_meta_noydir_field_id, $use_meta_noydir_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_general_settings_group, $section_id, $use_meta_noydir_field );
|
643 |
|
644 |
//autogenerate description
|
645 |
$autogenerate_desc_field = array (
|
364 |
//add Section
|
365 |
add_settings_section( 'psp_section_home', esc_html__('Home Page SEO Settings', 'platinum-seo-pack' ), array( &$this, 'section_home_desc' ), $this->psp_home_settings_group );
|
366 |
//add fields
|
367 |
+
//canonical
|
368 |
+
$use_front_page_field = array (
|
369 |
+
'label_for' => 'psp_home_use_front_page',
|
370 |
+
'option_name' => $psp_home_settings_name.'[use_front_page]',
|
371 |
+
'option_value' => isset($psp_home_settings['use_front_page']) ? $psp_home_settings['use_front_page'] : '',
|
372 |
+
'option_description' => esc_html__( 'You don\'t have to enable this even if you use a Static Page as Home Page, unless you need it for other reasons. If you enable this, the Platinum SEO Attributes (SEO title, Description, Schema etc.) of the Page chose as Static Front Page will be used and the Home Page settings you enter below will be overridden (ignored). If this option is selected, you will have to make sure that the Canonical URL is correctly set for the page chosen as the Static page For Home. If needed, make sure that you set it correctly in the Platinum SEO Metabox of the page chosen as static Page.', 'platinum-seo-pack' ),
|
373 |
+
'checkbox_label' => esc_html__( 'Use the Static Front page\'s Platinum SEO Attributes', 'platinum-seo-pack' )
|
374 |
+
);
|
375 |
+
|
376 |
+
$use_front_page_field_id = 'psp_home_use_front_page';
|
377 |
+
$use_front_page_field_title = esc_html__( 'Use the Static Front page\'s Platinum SEO Attributes: ', 'platinum-seo-pack' );
|
378 |
+
|
379 |
+
//add_settings_field( $use_front_page_field_id, $use_front_page_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_home_settings_group, $section_id, $use_front_page_field );
|
380 |
+
|
381 |
+
//Home page title
|
382 |
$title_field = array (
|
383 |
'label_for' => 'psp_home_title',
|
384 |
'option_name' => $psp_home_settings_name.'[title]',
|
395 |
'label_for' => 'psp_home_keywords',
|
396 |
'option_name' => $psp_home_settings_name.'[keywords]',
|
397 |
'option_value' => isset($psp_home_settings['keywords']) ? stripcslashes(esc_attr($psp_home_settings['keywords'])) : '',
|
398 |
+
'option_description' => esc_html__( 'Google and most other Search engines do not use or support the meta keywords tag. If you still find it necessary to use this tag for any specific reason of yours, you may add comma separated primary entities or keywords for the Home page here.These will be displayed as meta keywords tag. Leaving it empty will disable this tag for the Home Page.', 'platinum-seo-pack' ),
|
399 |
);
|
400 |
|
401 |
$home_header_metas = isset($psp_home_settings['headers']) ? html_entity_decode(stripcslashes(esc_attr($psp_home_settings['headers']))) : '';
|
441 |
//add_settings_field( 'psp_home_description', '<a href="'.home_url().'" target="_blank">'.__('Home Page Meta Description: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $desc_field );
|
442 |
//add_settings_field( 'psp_home_keywords', '<a href="'.home_url().'" target="_blank">'.__('Home Page Meta Keywords: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $keywords_field );
|
443 |
//add_settings_field( 'psp_home_additional_headers', '<a href="'.home_url().'" target="_blank">'.__('Additional Home Page Headers: ', 'platinum-seo-pack').'</a>', array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $additional_headers_field );
|
444 |
+
add_settings_field( $use_front_page_field_id, $use_front_page_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_home_settings_group, 'psp_section_home', $use_front_page_field );
|
445 |
add_settings_field( 'psp_home_title', esc_html__('Home Page Title: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $title_field);
|
446 |
add_settings_field( 'psp_home_description', esc_html__('Home Page Meta Description: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_textarea' ), $this->psp_home_settings_group, 'psp_section_home', $desc_field );
|
447 |
add_settings_field( 'psp_home_keywords', esc_html__('Home Page Meta Keywords: ', 'platinum-seo-pack'), array( &$this, 'psp_add_field_text' ), $this->psp_home_settings_group, 'psp_section_home', $keywords_field );
|
450 |
}
|
451 |
|
452 |
function sanitize_home_settings($settings) {
|
453 |
+
|
454 |
+
if( isset( $settings['use_front_page'] ) ) {
|
455 |
+
$settings['use_front_page'] = !is_null(filter_var($settings['use_front_page'],FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE)) ? $settings['use_front_page'] : '';
|
456 |
+
}
|
457 |
if( isset( $settings['title'] ) ) $settings['title'] = sanitize_text_field( $settings['title'] );
|
458 |
if( isset( $settings['description'] ) ) $settings['description'] = sanitize_textarea_field( $settings['description'] );
|
459 |
if( isset( $settings['keywords'] ) ) $settings['keywords'] = sanitize_text_field( $settings['keywords'] );
|
644 |
$use_meta_noodp_field_id = 'psp_'.$setting_name.'_use_meta_noodp';
|
645 |
$use_meta_noodp_field_title = esc_html__( 'Use noodp: ', 'platinum-seo-pack' );
|
646 |
|
647 |
+
//add_settings_field( $use_meta_noodp_field_id, $use_meta_noodp_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_general_settings_group, $section_id, $use_meta_noodp_field );
|
648 |
|
649 |
//noydir
|
650 |
$use_meta_noydir_field = array (
|
657 |
$use_meta_noydir_field_id = 'psp_'.$setting_name.'_use_meta_noydir';
|
658 |
$use_meta_noydir_field_title = esc_html__( 'Use noydir: ', 'platinum-seo-pack' );;
|
659 |
|
660 |
+
//add_settings_field( $use_meta_noydir_field_id, $use_meta_noydir_field_title, array( &$this, 'psp_add_field_checkbox' ), $this->psp_general_settings_group, $section_id, $use_meta_noydir_field );
|
661 |
|
662 |
//autogenerate description
|
663 |
$autogenerate_desc_field = array (
|
psp-include/utilities/psp_helper.php
CHANGED
@@ -19,7 +19,7 @@ class PspHelper {
|
|
19 |
* as description. Touch only if you know what you're doing
|
20 |
*/
|
21 |
private $min_description_length = 1;
|
22 |
-
private $version = "2.1.
|
23 |
|
24 |
public $sitename = "";
|
25 |
public $sitedescription = "";
|
19 |
* as description. Touch only if you know what you're doing
|
20 |
*/
|
21 |
private $min_description_length = 1;
|
22 |
+
private $version = "2.1.5";
|
23 |
|
24 |
public $sitename = "";
|
25 |
public $sitedescription = "";
|
psp_main.php
CHANGED
@@ -263,14 +263,14 @@ class PspMain {
|
|
263 |
$user_id = get_current_user_id();
|
264 |
// Add the meta so that the notice is permanently dismissed.
|
265 |
//delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
|
266 |
-
update_user_meta( $user_id, 'psp_ignore_notice', "
|
267 |
};
|
268 |
};
|
269 |
}
|
270 |
|
271 |
public function platinum_seo_admin_notice__success() {
|
272 |
$user_id = get_current_user_id();
|
273 |
-
if ( "
|
274 |
global $pagenow;
|
275 |
$psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
|
276 |
if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
|
@@ -280,7 +280,7 @@ class PspMain {
|
|
280 |
'psp_ignore_notice' => '1',
|
281 |
'action' => 'psp_delete_adminnotice',
|
282 |
'nonce' => wp_create_nonce('psp_delete_adminnotice'),
|
283 |
-
] ) ) .'" style="float:right; display:block; border:none;">'.esc_html__( 'Dismiss permanently', 'platinum-seo-pack' ) .'</a>'.'<br>'. esc_html__( 'See What has Changed in this', 'platinum-seo-pack' ).'<a href="https://techblissonline.com/platinum-wordpress-seo-plugin/#what-is-new" target="_blank" rel="noopener"> '.esc_html__( ' Version ', 'platinum-seo-pack' ).'2.1.
|
284 |
</div>
|
285 |
<?php
|
286 |
}
|
@@ -537,12 +537,29 @@ class PspMain {
|
|
537 |
//$canonical = $psp_settings['use_canonical'];
|
538 |
$seo_title = "";
|
539 |
$seo_title = $this->seo_title;
|
|
|
|
|
540 |
|
541 |
-
if (is_front_page()) {
|
542 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
543 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
544 |
if (is_home() && !is_front_page()) {
|
545 |
-
$posts_page_id =
|
|
|
546 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
547 |
}
|
548 |
if (empty($seo_title)) $seo_title = $psp_pt_instance->get_pt_psp_title($post);
|
@@ -673,7 +690,9 @@ class PspMain {
|
|
673 |
$post_id = '';
|
674 |
if ($post) $post_id = $post->ID;
|
675 |
if (is_home() && !is_front_page()) {
|
676 |
-
$posts_page_id =
|
|
|
|
|
677 |
if ($posts_page_id) {
|
678 |
$post_id = $posts_page_id;
|
679 |
}
|
@@ -765,6 +784,9 @@ class PspMain {
|
|
765 |
}
|
766 |
|
767 |
$taxonomy_for_bc = array();
|
|
|
|
|
|
|
768 |
|
769 |
$psp_pt_instance = PspPtsSeoMetas::get_instance();
|
770 |
$psp_ho_instance = PspHomeOthersSeoMetas::get_instance();
|
@@ -776,16 +798,43 @@ class PspMain {
|
|
776 |
$psp_settings = $this->psp_sitewide_settings;
|
777 |
$canonical = $psp_settings['use_canonical'];
|
778 |
|
779 |
-
if ($canonical) remove_action('wp_head', 'rel_canonical');
|
780 |
|
781 |
-
if (is_front_page()) {
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
787 |
if (is_home() && !is_front_page()) {
|
788 |
-
$posts_page_id =
|
|
|
|
|
789 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
790 |
}
|
791 |
if (isset($this->psp_seo_meta_string) && !empty($this->psp_seo_meta_string)) {
|
@@ -850,13 +899,56 @@ class PspMain {
|
|
850 |
}
|
851 |
|
852 |
//set social metas
|
853 |
-
public function psp_set_social_metas($psp_type_instance) {
|
854 |
|
855 |
if (is_front_page()) {
|
856 |
|
857 |
//$this->psp_social_handle->psp_social_metas = $psp_type_instance->home_social_meta;
|
858 |
//get social metas for front page
|
859 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
860 |
$psp_pt_instance = PspPtsSeoMetas::get_instance();
|
861 |
$front_page_id = get_option('page_on_front');
|
862 |
if ($front_page_id) {
|
@@ -872,11 +964,14 @@ class PspMain {
|
|
872 |
$this->psp_social_handle->psp_can_link = $psp_type_instance->home_can_link;
|
873 |
$this->psp_social_handle->psp_type = "Website";
|
874 |
$this->psp_can_link = $psp_type_instance->home_can_link;
|
|
|
875 |
|
876 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
877 |
global $post;
|
878 |
if (is_home() && !is_front_page()) {
|
879 |
-
$posts_page_id =
|
|
|
|
|
880 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
881 |
}
|
882 |
$seo_title = $psp_type_instance->get_pt_psp_title($post);
|
@@ -991,8 +1086,8 @@ class PspMain {
|
|
991 |
|
992 |
$psp_settings = $this->psp_sitewide_settings;
|
993 |
//echo "is premium ".$psp_settings['premium'];
|
994 |
-
|
995 |
-
|
996 |
$psp_premium_status = isset($psp_settings['psp_premium_license_key_status']) ? $psp_settings['psp_premium_license_key_status'] : '';
|
997 |
|
998 |
if ($psp_premium_valid) {
|
@@ -1028,7 +1123,7 @@ class PspMain {
|
|
1028 |
'id' => 'psp-seoanalysis',
|
1029 |
'title' => __( 'Analyze your onpage SEO', 'platinum-seo-pack' ),
|
1030 |
'href' => '//techblissonline.com/tools/seo-analysis/?url=' . urlencode( $current_page_url ) . '&utm_source=techblissonline-pspd&utm_medium=wp&utm_content=topbar&utm_campaign=pspd-satool',
|
1031 |
-
'meta' => array( 'target' => '_blank' ),
|
1032 |
) );
|
1033 |
|
1034 |
array_push($args, array(
|
@@ -1036,7 +1131,7 @@ class PspMain {
|
|
1036 |
'id' => 'psp-kwdensity',
|
1037 |
'title' => __( 'Check Keyword Density', 'platinum-seo-pack' ),
|
1038 |
'href' => '//techblissonline.com/tools/keyword-density-analysis-tool/?url=' . urlencode( $current_page_url ) . '&utm_source=techblissonline-pspd&utm_medium=wp&utm_content=topbar&utm_campaign=pspd-kdtool',
|
1039 |
-
'meta' => array( 'target' => '_blank' ),
|
1040 |
) );
|
1041 |
|
1042 |
array_push($args, array(
|
@@ -1044,7 +1139,7 @@ class PspMain {
|
|
1044 |
'id' => 'psp-inlinks-ose',
|
1045 |
'title' => __( 'Check Inlinks (OSE)', 'platinum-seo-pack' ),
|
1046 |
'href' => '//ahrefs.com/backlink-checker?site=' . urlencode( $current_page_url ),
|
1047 |
-
'meta' => array( 'target' => '_blank' ),
|
1048 |
));
|
1049 |
|
1050 |
array_push($args, array(
|
@@ -1052,23 +1147,23 @@ class PspMain {
|
|
1052 |
'id' => 'psp-cache',
|
1053 |
'title' => __( 'Check Google Cache', 'platinum-seo-pack' ),
|
1054 |
'href' => '//webcache.googleusercontent.com/search?strip=1&q=cache:' . urlencode( $current_page_url ),
|
1055 |
-
'meta' => array( 'target' => '_blank' ),
|
1056 |
) );
|
1057 |
-
|
1058 |
array_push($args, array(
|
1059 |
'parent' => 'psp-page-analysis',
|
1060 |
'id' => 'psp-header',
|
1061 |
'title' => __( 'Check Headers', 'platinum-seo-pack' ),
|
1062 |
'href' => '//quixapp.com/headers/?r=' . urlencode( $current_page_url ),
|
1063 |
-
'meta' => array( 'target' => '_blank' ),
|
1064 |
) );
|
1065 |
-
|
1066 |
array_push($args, array(
|
1067 |
'parent' => 'psp-page-analysis',
|
1068 |
'id' => 'psp-richsnippets',
|
1069 |
'title' => __( 'Check Rich Snippets', 'platinum-seo-pack' ),
|
1070 |
'href' => '//www.google.com/webmasters/tools/richsnippets?q=' . urlencode( $current_page_url ),
|
1071 |
-
'meta' => array( 'target' => '_blank' ),
|
1072 |
));
|
1073 |
|
1074 |
array_push($args, array(
|
@@ -1076,7 +1171,7 @@ class PspMain {
|
|
1076 |
'id' => 'psp-facebookdebug',
|
1077 |
'title' => __( 'Facebook Debugger', 'platinum-seo-pack' ),
|
1078 |
'href' => '//developers.facebook.com/tools/debug/og/object?q=' . urlencode( $current_page_url ),
|
1079 |
-
'meta' => array( 'target' => '_blank' ),
|
1080 |
));
|
1081 |
|
1082 |
array_push($args, array(
|
@@ -1084,7 +1179,7 @@ class PspMain {
|
|
1084 |
'id' => 'psp-pinterestvalidator',
|
1085 |
'title' => __( 'Pinterest Rich Pins Validator', 'platinum-seo-pack' ),
|
1086 |
'href' => '//developers.pinterest.com/rich_pins/validator/?link=' . urlencode( $current_page_url ),
|
1087 |
-
'meta' => array( 'target' => '_blank' ),
|
1088 |
) );
|
1089 |
|
1090 |
array_push($args, array(
|
@@ -1092,7 +1187,7 @@ class PspMain {
|
|
1092 |
'id' => 'psp-htmlvalidation',
|
1093 |
'title' => __( 'HTML Validator', 'platinum-seo-pack' ),
|
1094 |
'href' => '//validator.w3.org/check?uri=' . urlencode( $current_page_url ),
|
1095 |
-
'meta' => array( 'target' => '_blank' ),
|
1096 |
));
|
1097 |
|
1098 |
array_push($args, array(
|
@@ -1100,7 +1195,7 @@ class PspMain {
|
|
1100 |
'id' => 'psp-cssvalidation',
|
1101 |
'title' => __( 'CSS Validator', 'platinum-seo-pack' ),
|
1102 |
'href' => '//jigsaw.w3.org/css-validator/validator?uri=' . urlencode( $current_page_url ),
|
1103 |
-
'meta' => array( 'target' => '_blank' ),
|
1104 |
) );
|
1105 |
|
1106 |
array_push($args, array(
|
@@ -1108,7 +1203,7 @@ class PspMain {
|
|
1108 |
'id' => 'psp-pagespeed',
|
1109 |
'title' => __( 'Google Page Speed Test', 'platinum-seo-pack' ),
|
1110 |
'href' => '//developers.google.com/speed/pagespeed/insights/?url=' . urlencode( $current_page_url ),
|
1111 |
-
'meta' => array( 'target' => '_blank' ),
|
1112 |
) );
|
1113 |
|
1114 |
array_push($args, array(
|
@@ -1116,7 +1211,7 @@ class PspMain {
|
|
1116 |
'id' => 'psp-modernie',
|
1117 |
'title' => __( 'Modern IE Site Scan', 'platinum-seo-pack' ),
|
1118 |
'href' => '//www.modern.ie/en-us/report#' . urlencode( $current_page_url ),
|
1119 |
-
'meta' => array( 'target' => '_blank' ),
|
1120 |
) );
|
1121 |
|
1122 |
array_push($args, array(
|
@@ -1124,7 +1219,7 @@ class PspMain {
|
|
1124 |
'id' => 'psp-mobile-friendly',
|
1125 |
'title' => __( 'Mobile-Friendly Test', 'platinum-seo-pack' ),
|
1126 |
'href' => 'https://www.google.com/webmasters/tools/mobile-friendly/?url=' . urlencode( $current_page_url ),
|
1127 |
-
'meta' => array( 'target' => '_blank' ),
|
1128 |
) );
|
1129 |
|
1130 |
//sort($args);
|
263 |
$user_id = get_current_user_id();
|
264 |
// Add the meta so that the notice is permanently dismissed.
|
265 |
//delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
|
266 |
+
update_user_meta( $user_id, 'psp_ignore_notice', "v_215" );
|
267 |
};
|
268 |
};
|
269 |
}
|
270 |
|
271 |
public function platinum_seo_admin_notice__success() {
|
272 |
$user_id = get_current_user_id();
|
273 |
+
if ( "v_215" === trim(get_user_meta( $user_id, 'psp_ignore_notice', true ) )) return;
|
274 |
global $pagenow;
|
275 |
$psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
|
276 |
if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
|
280 |
'psp_ignore_notice' => '1',
|
281 |
'action' => 'psp_delete_adminnotice',
|
282 |
'nonce' => wp_create_nonce('psp_delete_adminnotice'),
|
283 |
+
] ) ) .'" style="float:right; display:block; border:none;">'.esc_html__( 'Dismiss permanently', 'platinum-seo-pack' ) .'</a>'.'<br>'. esc_html__( 'See What has Changed in this', 'platinum-seo-pack' ).'<a href="https://techblissonline.com/platinum-wordpress-seo-plugin/#what-is-new" target="_blank" rel="noopener"> '.esc_html__( ' Version ', 'platinum-seo-pack' ).'2.1.5'.esc_html__( ' and earlier Versions!', 'platinum-seo-pack' ) .'</a>'.'<br>'.esc_html__( 'Like this Plugin? Pls. give it a rating WordPress plugin Page', 'platinum-seo-pack' ).'<a href="https://wordpress.org/plugins/platinum-seo-pack/" target="_blank" rel="noopener">'.esc_html__(' here','platinum-seo-pack' ).'</a>'; ?></p></strong>
|
284 |
</div>
|
285 |
<?php
|
286 |
}
|
537 |
//$canonical = $psp_settings['use_canonical'];
|
538 |
$seo_title = "";
|
539 |
$seo_title = $this->seo_title;
|
540 |
+
$front_page_id = "";
|
541 |
+
$posts_page_id = "";
|
542 |
|
543 |
+
if (is_front_page()) {
|
544 |
+
if (is_home()) {
|
545 |
+
if (empty($seo_title)) $seo_title = $psp_ho_instance->get_home_psp_title();
|
546 |
+
} else {
|
547 |
+
$psp_home_settings = get_option("psp_home_settings");
|
548 |
+
$use_front_page_settings = isset($psp_home_settings['use_front_page']) ? $psp_home_settings['use_front_page'] : '';
|
549 |
+
if(!$use_front_page_settings) {
|
550 |
+
if (empty($seo_title)) $seo_title = $psp_ho_instance->get_home_psp_title();
|
551 |
+
} else {
|
552 |
+
//$front_page_id = get_option('page_on_front');
|
553 |
+
$front_page_id = get_queried_object_id();
|
554 |
+
if (!$front_page_id) $front_page_id = get_option('page_on_front');
|
555 |
+
if ($front_page_id) $post = get_post($front_page_id);
|
556 |
+
if (empty($seo_title) && $post) $seo_title = $psp_pt_instance->get_pt_psp_title($post);
|
557 |
+
}
|
558 |
+
}
|
559 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
560 |
if (is_home() && !is_front_page()) {
|
561 |
+
$posts_page_id = get_queried_object_id();
|
562 |
+
if (!$posts_page_id) $posts_page_id = get_option('page_for_posts');
|
563 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
564 |
}
|
565 |
if (empty($seo_title)) $seo_title = $psp_pt_instance->get_pt_psp_title($post);
|
690 |
$post_id = '';
|
691 |
if ($post) $post_id = $post->ID;
|
692 |
if (is_home() && !is_front_page()) {
|
693 |
+
$posts_page_id = get_queried_object_id();
|
694 |
+
if (!$posts_page_id) $posts_page_id = get_option('page_for_posts');
|
695 |
+
//$posts_page_id = get_option('page_for_posts');
|
696 |
if ($posts_page_id) {
|
697 |
$post_id = $posts_page_id;
|
698 |
}
|
784 |
}
|
785 |
|
786 |
$taxonomy_for_bc = array();
|
787 |
+
$front_page_id = "";
|
788 |
+
$posts_page_id = "";
|
789 |
+
$seo_meta_string = "";
|
790 |
|
791 |
$psp_pt_instance = PspPtsSeoMetas::get_instance();
|
792 |
$psp_ho_instance = PspHomeOthersSeoMetas::get_instance();
|
798 |
$psp_settings = $this->psp_sitewide_settings;
|
799 |
$canonical = $psp_settings['use_canonical'];
|
800 |
|
801 |
+
if ($canonical) remove_action('wp_head', 'rel_canonical');
|
802 |
|
803 |
+
if (is_front_page()) {
|
804 |
+
if (is_home()) {
|
805 |
+
$seo_meta_string = $psp_ho_instance->get_home_seo_metas($canonical);
|
806 |
+
$this->psp_set_social_metas($psp_ho_instance);
|
807 |
+
$social_meta_string = $this->psp_social_handle->psp_get_social_metas();
|
808 |
+
if (!empty($social_meta_string)) $seo_meta_string .= "\r\n".$social_meta_string;
|
809 |
+
} else {
|
810 |
+
$psp_home_settings = get_option("psp_home_settings");
|
811 |
+
$use_front_page_settings = isset($psp_home_settings['use_front_page']) ? $psp_home_settings['use_front_page'] : '';
|
812 |
+
if(!$use_front_page_settings) {
|
813 |
+
$seo_meta_string = $psp_ho_instance->get_home_seo_metas($canonical);
|
814 |
+
$this->psp_set_social_metas($psp_ho_instance);
|
815 |
+
$social_meta_string = $this->psp_social_handle->psp_get_social_metas();
|
816 |
+
if (!empty($social_meta_string)) $seo_meta_string .= "\r\n".$social_meta_string;
|
817 |
+
} else {
|
818 |
+
//$front_page_id = get_option('page_on_front');
|
819 |
+
$front_page_id = get_queried_object_id();
|
820 |
+
if (!$front_page_id) $front_page_id = get_option('page_on_front');
|
821 |
+
if ($front_page_id) {
|
822 |
+
$post = get_post($front_page_id);
|
823 |
+
$seo_meta_string = $psp_pt_instance->get_pt_seo_metas($post, $canonical);
|
824 |
+
$this->psp_seo_meta_string = $seo_meta_string;
|
825 |
+
|
826 |
+
$this->psp_set_social_metas($psp_pt_instance);
|
827 |
+
$this->psp_social_handle->psp_set_post_image($post);
|
828 |
+
$social_meta_string = $this->psp_social_handle->psp_get_social_metas();
|
829 |
+
if (!empty($social_meta_string)) $seo_meta_string .= "\r\n".$social_meta_string;
|
830 |
+
}
|
831 |
+
}
|
832 |
+
}
|
833 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
834 |
if (is_home() && !is_front_page()) {
|
835 |
+
$posts_page_id = get_queried_object_id();
|
836 |
+
if (!$posts_page_id) $posts_page_id = get_option('page_for_posts');
|
837 |
+
//$posts_page_id = get_option('page_for_posts');
|
838 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
839 |
}
|
840 |
if (isset($this->psp_seo_meta_string) && !empty($this->psp_seo_meta_string)) {
|
899 |
}
|
900 |
|
901 |
//set social metas
|
902 |
+
public function psp_set_social_metas($psp_type_instance) {
|
903 |
|
904 |
if (is_front_page()) {
|
905 |
|
906 |
//$this->psp_social_handle->psp_social_metas = $psp_type_instance->home_social_meta;
|
907 |
//get social metas for front page
|
908 |
+
$seo_title = "";
|
909 |
+
if (is_home()) {
|
910 |
+
$seo_title = $psp_type_instance->get_home_psp_title();
|
911 |
+
$this->seo_title = $seo_title;
|
912 |
+
$this->psp_social_handle->psp_seo_title = $psp_type_instance->home_title;
|
913 |
+
$this->psp_social_handle->psp_seo_description = $psp_type_instance->home_description;
|
914 |
+
$this->psp_social_handle->psp_can_link = $psp_type_instance->home_can_link;
|
915 |
+
$this->psp_social_handle->psp_type = "Website";
|
916 |
+
$this->psp_can_link = $psp_type_instance->home_can_link;
|
917 |
+
} else {
|
918 |
+
$psp_home_settings = get_option("psp_home_settings");
|
919 |
+
$use_front_page_settings = isset($psp_home_settings['use_front_page']) ? $psp_home_settings['use_front_page'] : '';
|
920 |
+
if (!$use_front_page_settings) {
|
921 |
+
$seo_title = $psp_type_instance->get_home_psp_title();
|
922 |
+
$this->seo_title = $seo_title;
|
923 |
+
$this->psp_social_handle->psp_seo_title = $psp_type_instance->home_title;
|
924 |
+
$this->psp_social_handle->psp_seo_description = $psp_type_instance->home_description;
|
925 |
+
$this->psp_social_handle->psp_can_link = $psp_type_instance->home_can_link;
|
926 |
+
$this->psp_social_handle->psp_type = "Website";
|
927 |
+
$this->psp_can_link = $psp_type_instance->home_can_link;
|
928 |
+
|
929 |
+
} else {
|
930 |
+
//$psp_pt_instance = PspPtsSeoMetas::get_instance();
|
931 |
+
//$front_page_id = get_option('page_on_front');
|
932 |
+
$front_page_id = get_queried_object_id();
|
933 |
+
if (!$front_page_id) $front_page_id = get_option('page_on_front');
|
934 |
+
if ($front_page_id) {
|
935 |
+
$post = get_post($front_page_id);
|
936 |
+
//$seo_title = $psp_pt_instance->get_pt_psp_title($post);
|
937 |
+
}
|
938 |
+
|
939 |
+
$seo_title = $psp_type_instance->get_pt_psp_title($post);
|
940 |
+
$this->seo_title = $seo_title;
|
941 |
+
|
942 |
+
$this->psp_social_handle->psp_social_metas = $psp_type_instance->psp_current_ptype_social_meta;
|
943 |
+
$this->psp_social_handle->psp_seo_title = $psp_type_instance->post_type_title;
|
944 |
+
$this->psp_social_handle->psp_seo_description = $psp_type_instance->post_type_description;
|
945 |
+
$this->psp_social_handle->psp_can_link = $psp_type_instance->post_type_can_link;
|
946 |
+
$this->psp_social_handle->psp_type = $psp_type_instance->post_type_name;
|
947 |
+
$this->psp_can_link = $psp_type_instance->post_type_can_link;
|
948 |
+
|
949 |
+
}
|
950 |
+
}
|
951 |
+
/***
|
952 |
$psp_pt_instance = PspPtsSeoMetas::get_instance();
|
953 |
$front_page_id = get_option('page_on_front');
|
954 |
if ($front_page_id) {
|
964 |
$this->psp_social_handle->psp_can_link = $psp_type_instance->home_can_link;
|
965 |
$this->psp_social_handle->psp_type = "Website";
|
966 |
$this->psp_can_link = $psp_type_instance->home_can_link;
|
967 |
+
***/
|
968 |
|
969 |
} else if (is_singular() || (is_home() && !is_front_page())) {
|
970 |
global $post;
|
971 |
if (is_home() && !is_front_page()) {
|
972 |
+
$posts_page_id = get_queried_object_id();
|
973 |
+
if (!$posts_page_id) $posts_page_id = get_option('page_for_posts');
|
974 |
+
//$posts_page_id = get_option('page_for_posts');
|
975 |
if ($posts_page_id) $post = get_post($posts_page_id);
|
976 |
}
|
977 |
$seo_title = $psp_type_instance->get_pt_psp_title($post);
|
1086 |
|
1087 |
$psp_settings = $this->psp_sitewide_settings;
|
1088 |
//echo "is premium ".$psp_settings['premium'];
|
1089 |
+
$psp_premium_valid = true;
|
1090 |
+
//$psp_premium_valid = isset($psp_settings['premium']) && !empty($psp_settings['premium']) ? $psp_settings['premium'] : '';
|
1091 |
$psp_premium_status = isset($psp_settings['psp_premium_license_key_status']) ? $psp_settings['psp_premium_license_key_status'] : '';
|
1092 |
|
1093 |
if ($psp_premium_valid) {
|
1123 |
'id' => 'psp-seoanalysis',
|
1124 |
'title' => __( 'Analyze your onpage SEO', 'platinum-seo-pack' ),
|
1125 |
'href' => '//techblissonline.com/tools/seo-analysis/?url=' . urlencode( $current_page_url ) . '&utm_source=techblissonline-pspd&utm_medium=wp&utm_content=topbar&utm_campaign=pspd-satool',
|
1126 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1127 |
) );
|
1128 |
|
1129 |
array_push($args, array(
|
1131 |
'id' => 'psp-kwdensity',
|
1132 |
'title' => __( 'Check Keyword Density', 'platinum-seo-pack' ),
|
1133 |
'href' => '//techblissonline.com/tools/keyword-density-analysis-tool/?url=' . urlencode( $current_page_url ) . '&utm_source=techblissonline-pspd&utm_medium=wp&utm_content=topbar&utm_campaign=pspd-kdtool',
|
1134 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1135 |
) );
|
1136 |
|
1137 |
array_push($args, array(
|
1139 |
'id' => 'psp-inlinks-ose',
|
1140 |
'title' => __( 'Check Inlinks (OSE)', 'platinum-seo-pack' ),
|
1141 |
'href' => '//ahrefs.com/backlink-checker?site=' . urlencode( $current_page_url ),
|
1142 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1143 |
));
|
1144 |
|
1145 |
array_push($args, array(
|
1147 |
'id' => 'psp-cache',
|
1148 |
'title' => __( 'Check Google Cache', 'platinum-seo-pack' ),
|
1149 |
'href' => '//webcache.googleusercontent.com/search?strip=1&q=cache:' . urlencode( $current_page_url ),
|
1150 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1151 |
) );
|
1152 |
+
/*
|
1153 |
array_push($args, array(
|
1154 |
'parent' => 'psp-page-analysis',
|
1155 |
'id' => 'psp-header',
|
1156 |
'title' => __( 'Check Headers', 'platinum-seo-pack' ),
|
1157 |
'href' => '//quixapp.com/headers/?r=' . urlencode( $current_page_url ),
|
1158 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1159 |
) );
|
1160 |
+
*/
|
1161 |
array_push($args, array(
|
1162 |
'parent' => 'psp-page-analysis',
|
1163 |
'id' => 'psp-richsnippets',
|
1164 |
'title' => __( 'Check Rich Snippets', 'platinum-seo-pack' ),
|
1165 |
'href' => '//www.google.com/webmasters/tools/richsnippets?q=' . urlencode( $current_page_url ),
|
1166 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1167 |
));
|
1168 |
|
1169 |
array_push($args, array(
|
1171 |
'id' => 'psp-facebookdebug',
|
1172 |
'title' => __( 'Facebook Debugger', 'platinum-seo-pack' ),
|
1173 |
'href' => '//developers.facebook.com/tools/debug/og/object?q=' . urlencode( $current_page_url ),
|
1174 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1175 |
));
|
1176 |
|
1177 |
array_push($args, array(
|
1179 |
'id' => 'psp-pinterestvalidator',
|
1180 |
'title' => __( 'Pinterest Rich Pins Validator', 'platinum-seo-pack' ),
|
1181 |
'href' => '//developers.pinterest.com/rich_pins/validator/?link=' . urlencode( $current_page_url ),
|
1182 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1183 |
) );
|
1184 |
|
1185 |
array_push($args, array(
|
1187 |
'id' => 'psp-htmlvalidation',
|
1188 |
'title' => __( 'HTML Validator', 'platinum-seo-pack' ),
|
1189 |
'href' => '//validator.w3.org/check?uri=' . urlencode( $current_page_url ),
|
1190 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1191 |
));
|
1192 |
|
1193 |
array_push($args, array(
|
1195 |
'id' => 'psp-cssvalidation',
|
1196 |
'title' => __( 'CSS Validator', 'platinum-seo-pack' ),
|
1197 |
'href' => '//jigsaw.w3.org/css-validator/validator?uri=' . urlencode( $current_page_url ),
|
1198 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1199 |
) );
|
1200 |
|
1201 |
array_push($args, array(
|
1203 |
'id' => 'psp-pagespeed',
|
1204 |
'title' => __( 'Google Page Speed Test', 'platinum-seo-pack' ),
|
1205 |
'href' => '//developers.google.com/speed/pagespeed/insights/?url=' . urlencode( $current_page_url ),
|
1206 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1207 |
) );
|
1208 |
|
1209 |
array_push($args, array(
|
1211 |
'id' => 'psp-modernie',
|
1212 |
'title' => __( 'Modern IE Site Scan', 'platinum-seo-pack' ),
|
1213 |
'href' => '//www.modern.ie/en-us/report#' . urlencode( $current_page_url ),
|
1214 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1215 |
) );
|
1216 |
|
1217 |
array_push($args, array(
|
1219 |
'id' => 'psp-mobile-friendly',
|
1220 |
'title' => __( 'Mobile-Friendly Test', 'platinum-seo-pack' ),
|
1221 |
'href' => 'https://www.google.com/webmasters/tools/mobile-friendly/?url=' . urlencode( $current_page_url ),
|
1222 |
+
'meta' => array( 'target' => '_blank', 'rel' => 'noopener' ),
|
1223 |
) );
|
1224 |
|
1225 |
//sort($args);
|
readme.txt
CHANGED
@@ -6,15 +6,15 @@ Tags: seo, wordpress seo, plugin, google seo, platinum seo, schema, schema marku
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.4.2
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
13 |
-
Techblissonline Platinum
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
-
Techblissonline's **[ WordPress SEO Plugin](https://techblissonline.com/platinum-wordpress-seo-plugin/)** , [Platinum SEO Pack](https://techblissonline.com/platinum-seo-pack/) offers the ultimate onpage SEO solution to your
|
18 |
|
19 |
**[Fix 404 Errors](https://techblissonline.com/http-404-error/)**
|
20 |
**[Manage HTTP Redirections](https://techblissonline.com/redirection-in-wordpress/)**
|
@@ -35,7 +35,7 @@ Some features:
|
|
35 |
10) Lets you override any title and set any META description and META keywords, for any post or page
|
36 |
11) Support for custom post types
|
37 |
12) Support for custom taxonomies
|
38 |
-
13) Compatible with most other plugins. You can use Google XML Sitemap Generator to generate your sitemap. You can exclude any particular post/page/taxonomy from the sitemap through settings in the Techblissonline Platinum
|
39 |
14) You have a 404 Manager.You can HTTP Redirect any Post or URL that returns a 404 Error. You can also set status to 410, if needed. [Fix 404 Errors](https://techblissonline.com/http-404-error/) using its 404 Monitor and doing [HTTP Redirect in WordPress](https://techblissonline.com/redirection-in-wordpress/)
|
40 |
15) WordPress Plugin to change HTTP status code from 404 to 410.
|
41 |
16) You now have a complete Redirection Manager.You can redirect any post or page to the desired location.
|
@@ -44,9 +44,10 @@ Some features:
|
|
44 |
19) WordPress 307 Redirect Plugin using HTTP 307 Status Code
|
45 |
20) WordPress 303 Redirect Plugin using HTTP 303 Status Code
|
46 |
21) Add index, noindex, follow or nofollow, noodp, noydir, noarchive, nosnippet meta tags to any post/page.
|
47 |
-
22) Integration with
|
48 |
-
23)
|
49 |
-
24)
|
|
|
50 |
|
51 |
== Installation ==
|
52 |
|
@@ -70,6 +71,10 @@ Please read these **[FAQs](https://techblissonline.com/platinum-seo-pack-faq/)**
|
|
70 |
4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
|
71 |
|
72 |
== Changelog ==
|
|
|
|
|
|
|
|
|
73 |
= 2.1.4 =
|
74 |
* 2020-06-23 - You can now set a preferred Term for every POST. This can be set for the chosen Preferred Taxonomy.
|
75 |
Fixed a bug in sitemap date display.
|
@@ -106,7 +111,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
106 |
* 2020-02-21 - Introduces Patinum SEO Content analysis that does a basic analysis of your content for focus keywords that you need to enter in meta ketwords input field as comma separated items. Note that meta keywords can be turned off sitewide in SEO -> General settings, if you do not want to add a meta keywords tag for posts and /or pages. You can even control it at the post or page level by switching it On/Off, if the sitewide setting is ON. Sitewide setting is Off by default. But you can get content analysis findings in your analysis dashboard, even if it is switched off. Also fixed a few other minor bugs.
|
107 |
|
108 |
= 2.0.4 =
|
109 |
-
* 2020-02-12 - Changed a style setting to apply to this plugin admin pages alone thereby avoiding conflict with
|
110 |
|
111 |
= 2.0.3 =
|
112 |
* 2020-02-11 - Made some changes to UI to improve usability. Also fixed a small superficial bug in snippet preview. Colors codes have been used. Blue is neutral or normal and can be positive or negative depending on the situation. Green indicates positive and recommended. Red indicates negative and not recommended. Users have to be doubly sure to make an option red. Orange indicates a warning and the users need to be careful.
|
@@ -118,13 +123,13 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
118 |
* 2020-02-06 - Fixed an issue that does not pull description for existing users of the plugin, in respect of posts where they had filled them (description) in the older version of Platinum SEO Pack.
|
119 |
|
120 |
= 2.0.0 =
|
121 |
-
* 2020-02-01 - Techblissonline Platinum SEO
|
122 |
|
123 |
= 1.3.8 =
|
124 |
* 2013-09-12 - Fixed a security issue (Many thanks to James Pearson)
|
125 |
|
126 |
= 1.3.7 =
|
127 |
-
* 2010-12-01 - Just a day after I released 1.3.6,
|
128 |
|
129 |
= 1.3.6 =
|
130 |
* 2010-11-30 - Added Plugin meta box for custom post types.
|
@@ -137,17 +142,17 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
137 |
* 2010-09-24 - Some minor superficial bug corrections
|
138 |
|
139 |
= 1.3.3 =
|
140 |
-
* 2010-02-13 - Made compatible with Brian Clarke's (founder of http://copyblogger.com/) Scribe LLC plugin for
|
141 |
|
142 |
= 1.3.1 =
|
143 |
-
* 2010-02-13 - Compatible with
|
144 |
|
145 |
= 1.3.1 =
|
146 |
-
* 2009-10-31 - Compatible with
|
147 |
|
148 |
= 1.3 =
|
149 |
* 2009-10-04 - Added an option to turn off post/page title format set in platinum seo settings for any particular post/page.
|
150 |
-
* 2009-10-04 - Platinum seo will have its own top level menu in
|
151 |
* 2009-10-04 - Added a migration form for migrating from All in one seo to platinum seo.
|
152 |
|
153 |
= 1.2.9 =
|
@@ -157,7 +162,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
157 |
* 2009-09-11 - fixed a superficial bug related to function_exists that caused php errors.
|
158 |
|
159 |
= 1.2.7 =
|
160 |
-
* 2009-08-30 - added options to specify meta description and meta tags for
|
161 |
|
162 |
= 1.2.6 =
|
163 |
* 2009-05-25 - Corrected a minor problem with canonical link.
|
@@ -170,11 +175,11 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
170 |
* 2009-05-18 - Introduced an Option to use tags as keywords for posts (Earlier tags were automatically included and now it is optional)
|
171 |
|
172 |
= 1.2.3 =
|
173 |
-
* 2008-01-04 - Introduced an option to noindex comments pages of posts, if the option to break comments into pages is chosen in
|
174 |
* 2008-01-04 - Automatically add nofollow tag to category links in breadcrumbs if the PSP options nofollow category listings on posts or nofollow category listings on pages is chosen.
|
175 |
|
176 |
= 1.2.2 =
|
177 |
-
* 2008-12-28 - Updated for
|
178 |
|
179 |
= 1.2.1 =
|
180 |
* 2008-10-12 - Updated for providing an option to turn off automatic 301 redirects while changing permalink structure (Refer https://techblissonline.com/wordpress-permalink-structure-plugin/)
|
@@ -183,7 +188,7 @@ Platinum SEO Plugin now enables its users to disable 404 Permalink guessing that
|
|
183 |
* 2008-08-17 - Updated for providing Nofollow option for archive listings
|
184 |
|
185 |
= 1.1 =
|
186 |
-
* 2008-07-17 - Updated for
|
187 |
|
188 |
= 1.0 =
|
189 |
* 2008-06-25 - Initial upload of plugin Platinum SEO Pack
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.4.2
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.1.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
13 |
+
Techblissonline Platinum WordPress SEO Plugin offers Complete onpage SEO solution for your WordPress blog or website.The latest version of this ultimate WordPress SEO Plugin has been completely rewritten and offers all the important features you need to do SEO to your blog or website. This is backward compatible and you don't have to change anything. If you are upgrading from an older version of Platinum SEO Pack (versions earlier than 2.0), make sure that you deactivate and activate the plugin once after upgrading to the latest version.
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
Techblissonline's **[ WordPress SEO Plugin](https://techblissonline.com/platinum-wordpress-seo-plugin/)** , [Platinum SEO Pack](https://techblissonline.com/platinum-seo-pack/) offers the ultimate onpage SEO solution to your WordPress blog or website.The latest version of Techblissonline Platinum SEO Plugin has been completely rewritten and offers all the essential features you need to do your SEO and be the best WordPress Blog or Website.
|
18 |
|
19 |
**[Fix 404 Errors](https://techblissonline.com/http-404-error/)**
|
20 |
**[Manage HTTP Redirections](https://techblissonline.com/redirection-in-wordpress/)**
|
35 |
10) Lets you override any title and set any META description and META keywords, for any post or page
|
36 |
11) Support for custom post types
|
37 |
12) Support for custom taxonomies
|
38 |
+
13) Compatible with most other plugins. You can use Google XML Sitemap Generator to generate your sitemap. You can exclude any particular post/page/taxonomy from the sitemap through settings in the Techblissonline Platinum WordPress SEO Plugin.
|
39 |
14) You have a 404 Manager.You can HTTP Redirect any Post or URL that returns a 404 Error. You can also set status to 410, if needed. [Fix 404 Errors](https://techblissonline.com/http-404-error/) using its 404 Monitor and doing [HTTP Redirect in WordPress](https://techblissonline.com/redirection-in-wordpress/)
|
40 |
15) WordPress Plugin to change HTTP status code from 404 to 410.
|
41 |
16) You now have a complete Redirection Manager.You can redirect any post or page to the desired location.
|
44 |
19) WordPress 307 Redirect Plugin using HTTP 307 Status Code
|
45 |
20) WordPress 303 Redirect Plugin using HTTP 303 Status Code
|
46 |
21) Add index, noindex, follow or nofollow, noodp, noydir, noarchive, nosnippet meta tags to any post/page.
|
47 |
+
22) Integration with WordPress Core SiteMap.
|
48 |
+
23) Set a preferred Taxonomy and Term for every POST.
|
49 |
+
24) Support for SiteMap. The plugin currently integrates the WordPress Sitemap files proposed to be integrate in Core in WordPress 5.5 with some enhancements to support images in sitemaps.
|
50 |
+
25) Plenty of other features.
|
51 |
|
52 |
== Installation ==
|
53 |
|
71 |
4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
|
72 |
|
73 |
== Changelog ==
|
74 |
+
= 2.1.5 =
|
75 |
+
* 2020-07-06 - A change has been made whereby the user is given an option to choose to display either the Home Page Settings(default) or the platinum SEO settings for the Static Page chosen as the Home Page (Front Page). This option isn't necessary for everyone, unless you are using, say, multilingual plugins like Polylang where multiple pages can be chosen as the Front Page i.e. one for each language. This need not be enabled by others.
|
76 |
+
Deprecated noodp, noydir robots meta tags.
|
77 |
+
|
78 |
= 2.1.4 =
|
79 |
* 2020-06-23 - You can now set a preferred Term for every POST. This can be set for the chosen Preferred Taxonomy.
|
80 |
Fixed a bug in sitemap date display.
|
111 |
* 2020-02-21 - Introduces Patinum SEO Content analysis that does a basic analysis of your content for focus keywords that you need to enter in meta ketwords input field as comma separated items. Note that meta keywords can be turned off sitewide in SEO -> General settings, if you do not want to add a meta keywords tag for posts and /or pages. You can even control it at the post or page level by switching it On/Off, if the sitewide setting is ON. Sitewide setting is Off by default. But you can get content analysis findings in your analysis dashboard, even if it is switched off. Also fixed a few other minor bugs.
|
112 |
|
113 |
= 2.0.4 =
|
114 |
+
* 2020-02-12 - Changed a style setting to apply to this plugin admin pages alone thereby avoiding conflict with WordPress admin and other plugin style settings. Created options for users to specify Facebook OG type and Twitter card type for each individual post or page in Basic social settings.
|
115 |
|
116 |
= 2.0.3 =
|
117 |
* 2020-02-11 - Made some changes to UI to improve usability. Also fixed a small superficial bug in snippet preview. Colors codes have been used. Blue is neutral or normal and can be positive or negative depending on the situation. Green indicates positive and recommended. Red indicates negative and not recommended. Users have to be doubly sure to make an option red. Orange indicates a warning and the users need to be careful.
|
123 |
* 2020-02-06 - Fixed an issue that does not pull description for existing users of the plugin, in respect of posts where they had filled them (description) in the older version of Platinum SEO Pack.
|
124 |
|
125 |
= 2.0.0 =
|
126 |
+
* 2020-02-01 - Techblissonline Platinum SEO WordPress plugin has been completely rewriiten and offers several new features in adiition to fixing the bugs in the earlier version and improving Plugin Security.
|
127 |
|
128 |
= 1.3.8 =
|
129 |
* 2013-09-12 - Fixed a security issue (Many thanks to James Pearson)
|
130 |
|
131 |
= 1.3.7 =
|
132 |
+
* 2010-12-01 - Just a day after I released 1.3.6, WordPress released 3.0.2 to fix a few security issues.I am releasing a fresh version after testing with this one
|
133 |
|
134 |
= 1.3.6 =
|
135 |
* 2010-11-30 - Added Plugin meta box for custom post types.
|
142 |
* 2010-09-24 - Some minor superficial bug corrections
|
143 |
|
144 |
= 1.3.3 =
|
145 |
+
* 2010-02-13 - Made compatible with Brian Clarke's (founder of http://copyblogger.com/) Scribe LLC plugin for WordPress
|
146 |
|
147 |
= 1.3.1 =
|
148 |
+
* 2010-02-13 - Compatible with WordPress 2.9.1
|
149 |
|
150 |
= 1.3.1 =
|
151 |
+
* 2009-10-31 - Compatible with WordPress 2.8.5
|
152 |
|
153 |
= 1.3 =
|
154 |
* 2009-10-04 - Added an option to turn off post/page title format set in platinum seo settings for any particular post/page.
|
155 |
+
* 2009-10-04 - Platinum seo will have its own top level menu in WordPress admin panel.
|
156 |
* 2009-10-04 - Added a migration form for migrating from All in one seo to platinum seo.
|
157 |
|
158 |
= 1.2.9 =
|
162 |
* 2009-09-11 - fixed a superficial bug related to function_exists that caused php errors.
|
163 |
|
164 |
= 1.2.7 =
|
165 |
+
* 2009-08-30 - added options to specify meta description and meta tags for WordPress category and tag pages.
|
166 |
|
167 |
= 1.2.6 =
|
168 |
* 2009-05-25 - Corrected a minor problem with canonical link.
|
175 |
* 2009-05-18 - Introduced an Option to use tags as keywords for posts (Earlier tags were automatically included and now it is optional)
|
176 |
|
177 |
= 1.2.3 =
|
178 |
+
* 2008-01-04 - Introduced an option to noindex comments pages of posts, if the option to break comments into pages is chosen in WordPress 2.7
|
179 |
* 2008-01-04 - Automatically add nofollow tag to category links in breadcrumbs if the PSP options nofollow category listings on posts or nofollow category listings on pages is chosen.
|
180 |
|
181 |
= 1.2.2 =
|
182 |
+
* 2008-12-28 - Updated for WordPress 2.7
|
183 |
|
184 |
= 1.2.1 =
|
185 |
* 2008-10-12 - Updated for providing an option to turn off automatic 301 redirects while changing permalink structure (Refer https://techblissonline.com/wordpress-permalink-structure-plugin/)
|
188 |
* 2008-08-17 - Updated for providing Nofollow option for archive listings
|
189 |
|
190 |
= 1.1 =
|
191 |
+
* 2008-07-17 - Updated for WordPress 2.6
|
192 |
|
193 |
= 1.0 =
|
194 |
* 2008-06-25 - Initial upload of plugin Platinum SEO Pack
|