Remove all Schema Markup / Structured data (Microdata, RDFa and/or JSON-ld) that you don’t want on your site.
- WordPress
6.8+ - PHP
8.2+ - Node.js
20+ - npm
10+ - Composer
2+
composer install
npm install
npm run buildThe plugin entrypoint is remove-schema.php. Runtime services live in src/.
Run the PHP test suite:
composer testRun PHP coding standards and static analysis:
composer lintRun the PHP checks individually:
composer phpcs
composer phpstan
composer phpunitRun JavaScript and CSS linting:
npm run lint:js
npm run lint:cssRun WordPress Plugin Check in the local wp-env environment:
npm run env:start
npx wp-env run cli wp plugin install plugin-check --activate
npx wp-env run cli wp plugin check remove-schema --exclude-directories=original,.phpstan,.phpunit.cache --exclude-files=.DS_Store,.gitignore,phpstan.neon.dist,phpcs.xml.dist,phpunit.xml.distBuild assets as part of release verification:
npm run buildFull local verification:
composer test
composer lint
npm run lint:js
npm run lint:css
npm run env:start
npx wp-env run cli wp plugin install plugin-check --activate
npx wp-env run cli wp plugin check remove-schema --exclude-directories=original,.phpstan,.phpunit.cache --exclude-files=.DS_Store,.gitignore,phpstan.neon.dist,phpcs.xml.dist,phpunit.xml.dist
npm run buildBuild assets and create a release ZIP:
npm run package:releaseCreate a ZIP from the current built files without rebuilding assets:
npm run package:zipThe generated archive is written to dist/remove-schema.zip.
- Slug:
remove-schema - Namespace:
TimVanIersel\RemoveSchema - Prefix:
remove_schema - Text domain:
remove-schema - Composer package:
timvaniersel/removeschema - Plugin URI: https://plugin.nl/remove-schema
- Name: Tim van Iersel
- Email: tim@plugin.nl
- URI: https://plugin.nl
- Install PHP dependencies with
composer install. - Install JavaScript dependencies with
npm install. - Build the admin assets with
npm run build.