kevingillispie / Schema-Scalpel

A simple WordPress plugin to customize your site's schema on a per-page basis.
GNU General Public License v3.0
0 stars 1 forks source link

Schema Scalpel

Schema Scalpel helps you create rich text snippets for search engines in the format that they prefer.

Description

The secret to great schema is to actually put it on your website! Many sites don't use schema, or use it incorrectly, thereby missing out on a powerful SEO and branding tool.

Schema Scalpel solves this problem by giving you complete control over your website’s structured data. It allows you to tell search engines exactly what you want them to know about who you are and what you do.

Features

Installation

From your WordPress dashboard:

From WordPress.org:

You will then find a Schema Scalpel menu item in your WordPress admin dashboard.

Frequently Asked Questions

What is schema?

Schema, also known as structured data, is a form of microdata. I know that clarifies nothing, but stay with me here. Schema allows a website to give search engines precise information about the nature and content of the website.

Organizations, businesses, and individuals all have different types of information necessary for describing who and what they are and what they do. Schema is how that information is conveyed to search engines so that the websites associated with those entities show up in the most relevant search results.

JSON-LD vs. Microdata: What's the Difference?

Both of these forms of structured data will provide to search engines and their respective bots the information they need to understand your website.

The primary difference is that microdata is written into and dispersed throughout the HTML of your page. This makes maintenance thereof very impractical. JavaScript Object Notation for Linked Data (JSON-LD), on the other hand, is contained wholly within a single set of script tags making it very easy to create, update, and improve.

Most importantly, Google recommends that you use JSON-LD! Give the search engines what they ask for in the format that they prefer, and they'll rank your site higher.

Changelog

1.4.3

[UPDATE] A few housekeeping updates. [UPDATE] Compatibility with WordPress 6.7

1.4.2

[UPDATE] Compatibility with WordPress 6.6 [FIX] Schema Scalpel user dantefff went above and beyond and submitted a pull request to fix a longstanding bug! Thank you!

1.4.1

[FIX] Exterminated bug that prevented admin pages from loading.

1.4

[NEW] The entire codebase has been rebuilt with the addition of a custom HTML generator! Simple, yet effective.

[UPDATE] Extensive updates were made to bring new and existing code into conformity with the WordPress Coding Standards.

[UPDATE] Admin JavaScript has been tightened up, which leads to...

[FIX] The schema-editing JS should be in tip-top shape!

1.3.2

[UPDATE] Brought the codebase into greater conformity with the WordPress Coding Standards.

1.3.1

[UPDATE] Added clarification to the BlogPosting schema generator process.

1.3

[NEW] You can now auto-generate schema for all your blog posts with one click! [UPDATE] CSS framework updated to Bootstrap v5.3.2. [UPDATE] Various UI improvements. [UPDATE] Various PHP updates throughout the plugin. [FIX] Menu item logo sizing.

1.2.7.1

[FIX] Click-to-edit feature added to global, pages, and posts tabs.

1.2.7

[UPDATE] Clicking on schema will immediately open the popup textbox for editing. [FIX] Bug fixes.

1.2.6.2

[UPDATE] Replaced menu icon, and updated menu names. [UPDATE] Minor updates to the codebase in anticipation of an imminent overhaul(!).

1.2.5.5

[FIX] The schema_type for homepage schema as found in the custom schema table is now consistent across all PHP file partials. Please deactivate and re-activate the plugin to initiate the update.

1.2.5.4

THIS IS A NECESSARY UPDATE. [FIX] The initial tab setting in the database has been updated to homepage. The schema-editing page will now load properly.

[FIX] The initial search query parameter is now fully defaulted to s.

1.2.5.3

[FIX] If the absolute path to the plugin contained the word home in it, the scsc-create-new-schema.php file wouldn't properly switch between the schema-type tabs. Naming standard changed to homepage.

1.2.5.2

[FIX] admin/vars directory didn't get pushed with last update. >:(

1.2.5

[NEW] Added new example schema as highlighted by the Google Developer documentation, including COVID Announcement schema.

[UPDATE] Updated NewsArticle schema example to include author schema.

[UPDATE] Example schema are now called directly from an array rather than the database.

[FIXED] Spaces after commas are now limited to one to maintain traditional punctuation practices.

1.2.4.1

[FIXED] The create and edit schema buttons were being generated with the incorrect schema type. Each tab will now display the appropriate schema (i.e. home, global, pages, posts).

1.2.4

[FIXED] Should the wp_head() function be called more than once, some functions in the /public/class-schema-scalpel-public.php file would throw a fatal PHP error due to redundant declarations.

1.2.3

[UPDATE] Schema Scalpel works with WordPress 6.0!

[FIXED] A few CSS class names that weren't updated to Bootstrap 5.x naming standards.

[FIXED] Page and post titles were not displaying properly due to sanitization function.

1.2.2

[UPDATED] The schema/JSON-LD format error checking has been greatly improved.

1.2.1

[FIXED] Version 1.2 was pushed without updating every instance of version number within the plugin.

1.2

[NEW] Multisite activation is now possible!

[UPDATE] Removed some comment clutter.

1.0.1

[FIXED] Replaced use of wp_print_scripts hook with wp_enqueue_scripts as the former prevented the loading of schema with some themes.

[FIXED] A bunch of stuff I have changed since publishing Schema Scalpel but have forgotten about because I didn't know how to use my Subversion client.

[UPDATE] Plugin init function run_schema_scalpel now called via plugins_loaded hook.

[UPDATE] Changed the default search key to s to conform to WordPress's default search functionality.

[UPDATE] Schema Scalpel logo now uses font paths.

1.0

The unleashing of the Schema Scalpel upon the world. You might say that the plugin is now “off the chain”.