diff --git a/.gitignore b/.gitignore index 7fe56e2..b651a8c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ # Build Artifacts /build /dist +/svn # Dependencies /node_modules diff --git a/core/Utils/FieldsTabs.php b/core/Utils/FieldsTabs.php index 48ddf91..78d7a31 100644 --- a/core/Utils/FieldsTabs.php +++ b/core/Utils/FieldsTabs.php @@ -55,6 +55,11 @@ private function __construct() { "label" => "Taxonomies", "icon" => "dashicons dashicons-list-view" ), + "yoastseo" => array( + "label" => "Yoast SEO", + "icon" => "pp-checklists-tab-custom-icon", + "svg" => '' + ), "custom" => array( "label" => "Custom", "icon" => "dashicons dashicons-admin-generic" diff --git a/modules/checklists/assets/css/admin-pages.css b/modules/checklists/assets/css/admin-pages.css index 0fe159f..ed24752 100644 --- a/modules/checklists/assets/css/admin-pages.css +++ b/modules/checklists/assets/css/admin-pages.css @@ -504,3 +504,11 @@ textarea.pp-checklists-custom-item-title { display: flex; background: #fff; } + +.pp-checklists-tab-custom-icon { + display: inline-block; + width: 15px; + height: 15px; + vertical-align: sub; + padding: 2px; +} \ No newline at end of file diff --git a/modules/checklists/templates/global-checklists.php b/modules/checklists/templates/global-checklists.php index 847a658..6fb23e0 100644 --- a/modules/checklists/templates/global-checklists.php +++ b/modules/checklists/templates/global-checklists.php @@ -36,7 +36,9 @@ - + + + diff --git a/modules/yoastseo/lib/Requirement/Readability_Analysis.php b/modules/yoastseo/lib/Requirement/Readability_Analysis.php index 6479b9c..0f06554 100644 --- a/modules/yoastseo/lib/Requirement/Readability_Analysis.php +++ b/modules/yoastseo/lib/Requirement/Readability_Analysis.php @@ -43,7 +43,7 @@ class Readability_Analysis extends Base_dropdown * * @var string */ - public $group = 'content'; + public $group = 'yoastseo'; /** * Initialize the language strings for the instance diff --git a/modules/yoastseo/lib/Requirement/Seo_Analysis.php b/modules/yoastseo/lib/Requirement/Seo_Analysis.php index 1b3fccc..a23adc2 100644 --- a/modules/yoastseo/lib/Requirement/Seo_Analysis.php +++ b/modules/yoastseo/lib/Requirement/Seo_Analysis.php @@ -42,7 +42,7 @@ class Seo_Analysis extends Base_dropdown * * @var string */ - public $group = 'content'; + public $group = 'yoastseo'; /** * Initialize the language strings for the instance