Edu 1493 Microdata - Complete Description
Category: WordPress Plugins • Platform: PHP
The plugin is designed for Russian educational organizations to comply with Government Order №1493. It allows users to add specific itemprop attributes to standard WordPress blocks (Group, Paragraph, Columns, Table, etc.) directly within the Gutenberg editor.
Key Features:
* Adds an “itemprop” selection field to the block settings sidebar.
* Context-aware logic: Suggests tags based on the current page slug (e.g., /common, /employees, /struct).
* Hierarchy support: Filters child tags based on the parent block’s itemprop (e.g., inside a “teachingStaff” container).
* JSON-driven dictionary: Easy to update and extend microdata tags.
* Uses WP_HTML_Tag_Processor for safe and valid HTML attribute injection.
Плагин разработан для образовательных организаций РФ. Он позволяет добавлять специфические атрибуты itemprop (Приказ №1493) к стандартным блокам WordPress непосредственно в редакторе Gutenberg.
Основные функции:
* Добавление поля “itemprop” в панель настроек блоков.
* Контекстные подсказки тегов в зависимости от алиаса страницы (например, /common, /managers, /employees).
* Учет вложенности: плагин предлагает дочерние теги только внутри соответствующих главных тегов-контейнеров.
* Динамическая вставка атрибутов через WP_HTML_Tag_Processor, что гарантирует валидность кода.