Changeset 3284462
- Timestamp:
- 04/30/2025 01:22:37 AM (11 months ago)
- Location:
- sapientseo/trunk
- Files:
-
- 3 edited
-
inc/api/get-schemas.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
sapientseo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sapientseo/trunk/inc/api/get-schemas.php
r3283788 r3284462 111 111 '_yoast_wpseo_canonical', 112 112 '_yoast_wpseo_opengraph-title', 113 '_yoast_wpseo_opengraph-description' 113 '_yoast_wpseo_opengraph-description', 114 '_yoast_wpseo_opengraph-image', 115 '_yoast_wpseo_twitter-title', 116 '_yoast_wpseo_twitter-description', 117 '_yoast_wpseo_twitter-image', 118 '_yoast_wpseo_schema_page_type', 119 '_yoast_wpseo_schema_article_type', 120 '_yoast_wpseo_robots_index', 121 '_yoast_wpseo_robots_follow' 114 122 ]; 115 123 116 124 $seo_fields = []; 117 125 foreach ($yoast_meta_keys as $meta_key) { 118 $exists = $wpdb->get_var($wpdb->prepare( 119 "SELECT COUNT(*) FROM {$wpdb->postmeta} WHERE meta_key = %s", 120 $meta_key 121 )); 122 123 if ($exists > 0) { 124 $seo_fields[$meta_key] = "string"; 125 } 126 $seo_fields[$meta_key] = "string"; 126 127 } 127 128 128 if (!empty($seo_fields)) { 129 $schema['seo'] = $seo_fields; 130 } 129 $schema['seo'] = $seo_fields; 131 130 } 132 131 -
sapientseo/trunk/readme.txt
r3283796 r3284462 4 4 Tested up to: 6.8 5 5 Requires PHP: 7.4 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 21 21 == Installation == 22 22 23 1. Upload the plugin folder to `/wp-content/plugins/sapientseo`23 1. Install the plugin via the Plugins menu in WordPress by searching for “SapientSEO” — or upload the plugin .zip file manually via Plugins → Add New → Upload Plugin. 24 24 2. Activate the plugin via the "Plugins" menu in WordPress 25 25 3. Navigate to **SapientSEO** in the admin menu to find your secret key 26 26 4. Paste the key into the SapientSEO app under Company Configuration 27 28 **Recommended:** Enable auto-updates from the Plugins screen to ensure compatibility with new SapientSEO features and improvements. 27 29 28 30 == Frequently Asked Questions == -
sapientseo/trunk/sapientseo.php
r3283788 r3284462 3 3 * Plugin Name: SapientSEO 4 4 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints. 5 * Version: 1.0. 05 * Version: 1.0.1 6 6 * Author: SapientSEO 7 7 * Plugin URI: https://sapientseo.ai
Note: See TracChangeset
for help on using the changeset viewer.