This is a simple WordPress plugin that adds JSON-LD Article schema to every post on your website. It helps improve your website's SEO by providing search engines with structured data about your posts.
- Automatically adds JSON-LD Article schema to WordPress posts
- Includes mainEntityOfPage, headline, datePublished, dateModified, author, publisher, and description properties
- Supports featured image as the Article schema image
- Download or clone this repository and copy the
jsonld-article-schema
folder to your WordPress installation underwp-content/plugins/
. - Log in to your WordPress admin dashboard, go to "Plugins" and find the "JSON-LD Article Schema for Posts" plugin in the list.
- Click "Activate" to enable the plugin.
To customize the plugin, you can modify the jsonld-article-schema.php
file:
- Replace the placeholder URL in the
publisher
section with the URL of your website's logo. - Replace "Your Name" and "https://www.example.com" with your name and website URL, respectively.
This project is released under the MIT License.
If you'd like to contribute to this project, feel free to create a pull request or open an issue.