Simple Schema SEO
Lightweight WordPress plugin that injects JSON-LD structured data (Organization/LocalBusiness + Article) into the document head
by Victor Gadiana · github.com/victor-7-ops/simple-schema-seo · website
★ 0stars
0forks
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/victor-7-ops/simple-schema-seo/archive/refs/heads/master.zipReadme
Simple Schema SEO
A lightweight WordPress plugin that injects valid JSON-LD structured data (Organization/LocalBusiness + Article) into the document <head>.
Features
- Outputs
@graph-style JSON-LD (schema.org best practice) OrganizationorLocalBusinessnode on every pageArticlenode on single posts/pages (headline, dates, author, publisher, featured image)publisherreferences org by@id— no data duplication- Developer extension point:
ssseo_schema_graphfilter - Zero PHP notices with
WP_DEBUG = true - Follows WordPress coding standards
Requirements
- WordPress 5.9+
- PHP 7.4+
Installation
- Download or clone this repo
- Copy the
simple-schema-seofolder towp-content/plugins/ - Activate via Plugins → Installed Plugins
- Configure via Settings → Schema SEO
Configuration
| Field | Description |
|---|---|
| Organization Type | Organization or LocalBusiness |
| Organization Name | Your site/business name |
| Logo URL | Full URL to logo image |
| Phone Number | Phone (LocalBusiness only) |
| Article Schema | Enable/disable Article node on posts/pages |
Developer Extension
Add custom nodes via the filter before output:
add_filter( 'ssseo_schema_graph', function( $graph ) {
$graph[] = array(
'@type' => 'FAQPage',
'mainEntity' => array(
array(
'@type' => 'Question',
'name' => 'What is Simple Schema SEO?',
'acceptedAnswer' => array(
'@type' => 'Answer',
'text' => 'A lightweight WordPress plugin for JSON-LD structured data.',
),
),
),
);
return $graph;
} );
Verification
# Confirm Organization node on homepage
curl -s http://localhost/ | grep -A2 'ld+json'
# Confirm Article node on a post
curl -s http://localhost/sample-post/ | grep -A2 'ld+json'
Then run the output through:
Screenshots
Add screenshots after local verification:
- Settings page —
Settings → Schema SEO - Rich Results Test — passing Organization + Article
License
GPL-2.0-or-later