Schema Auto-Generator Pro
Automatically scan WordPress content and generate structured data schemas (JSON-LD) using AI/NLP techniques. Supports Event, Course, Job Posting, FAQ, HowTo, Product, Article, Recipe, and SoftwareApplication schemas.
by Umang Prajapati · github.com/umang48/schema-auto-generator-pro · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/umang48/schema-auto-generator-pro/archive/refs/heads/main.zipA production-ready WordPress plugin that automatically scans post/page content using AI/NLP techniques and generates structured data schemas (JSON-LD).
Developer: Umang Prajapati
Website: https://phptutorialpoints.in/
WordPress Profile: https://profiles.wordpress.org/umangapps48/
GitHub Repository: https://github.com/umang48/schema-auto-generator-pro
Features
Supported Schema Types
- Article Schema - Blog posts and articles
- Event Schema - Conferences, workshops, webinars
- Course Schema - Educational courses and training
- Job Posting Schema - Job listings and career opportunities
- FAQ Schema - Frequently asked questions
- HowTo Schema - Step-by-step guides and tutorials
- Product Schema - Product listings with pricing
- Recipe Schema - Cooking recipes with ingredients
- SoftwareApplication Schema - Software and apps
Key Features
- ✅ Automatic content analysis using NLP techniques
- ✅ Intelligent schema type detection
- ✅ Manual override options
- ✅ Schema caching for performance
- ✅ Clean JSON-LD output
- ✅ Google Rich Results compatible
- ✅ WordPress Coding Standards compliant
- ✅ No external API dependencies
- ✅ GDPR compliant
- ✅ Translation ready
Installation
- Upload the
schema-auto-generator-profolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Settings > Schema Auto-Generator to configure
- Schemas will be automatically generated for your content
Usage
Automatic Detection
The plugin automatically analyzes your content and generates the most appropriate schema type based on:
- Keyword analysis
- Content structure
- Pattern matching
- Contextual indicators
Manual Override
In the post editor, you'll find a "Schema Auto-Generator" meta box where you can:
- Disable auto-detection
- Manually select schema type
- Regenerate schema on demand
Settings
Configure the plugin at Settings > Schema Auto-Generator:
- Enable/disable auto-detection
- Enable/disable caching
- Set organization name and logo
- Enable/disable specific schema types
Technical Details
Architecture
schema-auto-generator-pro/
├── assets/
│ ├── css/
│ │ └── admin.css
│ └── js/
│ └── admin.js
├── includes/
│ ├── Admin/
│ │ ├── MetaBox.php
│ │ └── Settings.php
│ ├── Core/
│ │ ├── Detectors/
│ │ │ ├── BaseDetector.php
│ │ │ ├── ArticleDetector.php
│ │ │ ├── EventDetector.php
│ │ │ ├── CourseDetector.php
│ │ │ ├── JobPostingDetector.php
│ │ │ ├── FAQDetector.php
│ │ │ ├── HowToDetector.php
│ │ │ ├── ProductDetector.php
│ │ │ ├── RecipeDetector.php
│ │ │ └── SoftwareDetector.php
│ │ └── SchemaGenerator.php
│ ├── Frontend/
│ │ └── SchemaOutput.php
│ ├── Activator.php
│ ├── Deactivator.php
│ └── Plugin.php
├── languages/
├── schema-auto-generator-pro.php
├── uninstall.php
├── readme.txt
└── LICENSE
Detection Algorithm
Each detector uses:
- Keyword Matching - Analyzes content for relevant keywords
- Pattern Recognition - Identifies structural patterns (dates, prices, steps)
- Confidence Scoring - Calculates detection confidence (0-100%)
- Schema Generation - Creates valid JSON-LD output
Performance
- Schemas are generated once and cached
- Minimal database queries
- No external API calls
- Optimized for large sites
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
- No external dependencies
WordPress Coding Standards
This plugin follows:
- WordPress Coding Standards
- WordPress Plugin Repository Guidelines
- Security best practices (nonce verification, capability checks, data sanitization)
- Proper escaping and validation
- Internationalization ready
Security Features
- ✅ Nonce verification for all forms
- ✅ Capability checks for admin functions
- ✅ Data sanitization and validation
- ✅ SQL injection prevention
- ✅ XSS protection
- ✅ CSRF protection
Hooks & Filters
Actions
sagp_before_schema_output- Before schema is outputsagp_after_schema_generation- After schema is generated
Filters
sagp_schema_data- Modify schema before outputsagp_detector_confidence- Adjust confidence thresholdsagp_enabled_post_types- Add custom post types
FAQ
Q: Does this require an API key? A: No, the plugin uses built-in NLP techniques without external APIs.
Q: Will this slow down my site? A: No, schemas are cached and the plugin is optimized for performance.
Q: Can I manually edit schemas? A: Yes, you can override automatic detection in the post editor.
Q: Is it compatible with other SEO plugins? A: Yes, it works alongside Yoast SEO, Rank Math, and others.
Support
For support, please visit the WordPress.org support forums or contact the plugin author.
License
GPL v2 or later - see LICENSE file for details.
Changelog
1.0.0
- Initial release
- Support for 9 schema types
- Automatic content analysis
- Manual override options
- WordPress Repository ready
Credits
Developed by Umang Prajapati following WordPress best practices and Schema.org specifications.
Links
- Developer Website: https://phptutorialpoints.in/
- WordPress Profile: https://profiles.wordpress.org/umangapps48/
- GitHub Repository: https://github.com/umang48/schema-auto-generator-pro
- Report Issues: GitHub Issues