From 05df621a3afb72572a82aaa4c3eedd27ac49092a Mon Sep 17 00:00:00 2001 From: Nasyx Date: Sat, 21 Jan 2023 13:25:18 +0530 Subject: [PATCH] rename plugin 2 --- README.md | 6 ++-- readme.txt | 10 +++--- schema-pro.php => schema-optimizer-pro.php | 36 +++++++++++----------- 3 files changed, 26 insertions(+), 26 deletions(-) rename schema-pro.php => schema-optimizer-pro.php (68%) diff --git a/README.md b/README.md index 2d072b2..1abbc34 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Schema Pro +# Schema Optimizer Pro A simple WordPress plugin that automatically generates custom schema markup for better SEO. Improve your website's visibility in search results and increase traffic with minimal effort. @@ -12,7 +12,7 @@ A simple WordPress plugin that automatically generates custom schema markup for 1. Download the plugin from the WordPress repository or from the releases page on this repository. 2. Install the plugin in your WordPress site by going to Plugins > Add New > Upload Plugin. 3. Activate the plugin. -4. Go to the plugin settings page (Settings > Schema Pro) to configure the plugin. +4. Go to the plugin settings page (Settings > Schema Optimizer Pro) to configure the plugin. 5. Start improving your website's visibility in search results and increase traffic. ## Requirements @@ -22,7 +22,7 @@ A simple WordPress plugin that automatically generates custom schema markup for - Plugin created by [Nasyx Rakeeb](https://nasyxrakeeb.vercel.app) ## License -- This plugin is licensed under [GPL2](https://github.com/nasyx-rakeeb/schema-pro/blob/main/LICENSE.txt) +- This plugin is licensed under [GPL2](https://github.com/nasyx-rakeeb/schema-optimizer-pro/blob/main/LICENSE.txt) ## Changelog - 1.0 - Initial release diff --git a/readme.txt b/readme.txt index 8b7e2fa..1b5e59a 100644 --- a/readme.txt +++ b/readme.txt @@ -1,26 +1,26 @@ -=== Schema Pro === +=== Schema Optimizer Pro === Contributors: Nasyx Rakeeb Author link: https://nasyxrakeeb.vercel.app -Plugin URI: https://github.com/nasyx-rakeeb/schema-pro/ +Plugin URI: https://github.com/nasyx-rakeeb/schema-optimizer-pro/ Tags: schema markup, SEO, traffic Requires at least: 4.5 Tested up to: 6.1.1 Requires PHP: 5.6 Stable tag: 1.0 License: GPL2 -License URI: https://github.com/nasyx-rakeeb/schema-pro/blob/main/LICENSE.txt +License URI: https://github.com/nasyx-rakeeb/schema-optimizer-pro/blob/main/LICENSE.txt A plugin that automatically generates and adds appropriate schema markup to improve SEO and increase traffic. == Description == -Schema Pro is a plugin that automatically generates and adds appropriate schema markup to improve SEO and increase traffic. This plugin allows you to add custom fields to use for the schema markup and also includes options for caching and debug mode for improved performance and validation. +Schema Optimizer Pro is a plugin that automatically generates and adds appropriate schema markup to improve SEO and increase traffic. This plugin allows you to add custom fields to use for the schema markup and also includes options for caching and debug mode for improved performance and validation. == Installation == 1. Install the plugin through the WordPress repository or by uploading the files to your server. 2. Activate the plugin through the 'Plugins' menu in WordPress. -3. Go to the 'Schema Pro' settings page and configure the plugin according to your needs. +3. Go to the 'Schema Optimizer Pro' settings page and configure the plugin according to your needs. == Frequently Asked Questions == diff --git a/schema-pro.php b/schema-optimizer-pro.php similarity index 68% rename from schema-pro.php rename to schema-optimizer-pro.php index 0f8147a..a24421c 100644 --- a/schema-pro.php +++ b/schema-optimizer-pro.php @@ -1,17 +1,17 @@ Settings'; + $settings_link = 'Settings'; array_unshift($links, $settings_link); return $links; } @@ -29,27 +29,27 @@ function add_settings_link($links) { } public function add_settings_page() { - add_menu_page('Schema Pro', 'Schema Pro', 'manage_options', 'schema-pro', array($this, 'display_settings_page'), 'dashicons-admin-generic', 99); + add_menu_page('Schema Optimizer Pro', 'Schema Optimizer Pro', 'manage_options', 'schema-optimizer-pro', array($this, 'display_settings_page'), 'dashicons-admin-generic', 99); } public function register_settings() { - register_setting('schema-pro-options', 'schema-pro-options', array($this, 'sanitize_options'), array('custom_fields' => '', 'cache_enabled' => 0, 'debug_mode' => 0)); + register_setting('schema-optimizer-pro-options', 'schema-optimizer-pro-options', array($this, 'sanitize_options'), array('custom_fields' => '', 'cache_enabled' => 0, 'debug_mode' => 0)); } public function display_settings_page() { - $options = get_option('schema-pro-options'); + $options = get_option('schema-optimizer-pro-options'); ?>
-

Schema Pro

+

Schema Optimizer Pro

- +
- + - +

Enter a comma-separated list of custom fields to use for the schema markup.

@@ -60,8 +60,8 @@ public function display_settings_page() {
- > - + > +

Enable caching of the generated schema markup for improved performance.

@@ -73,8 +73,8 @@ public function display_settings_page() {
- > - + > +

Enable debug mode to view and validate the generated schema markup.

@@ -98,7 +98,7 @@ public function sanitize_options($options) { public function generate_schema_markup() { global $post; - $options = get_option('schema-pro-options'); + $options = get_option('schema-optimizer-pro-options'); if ($options['cache_enabled']) { // check for cached schema markup