Comprehensive guide for developing WordPress themes following best practices. Covers both classic PHP-based themes and modern FSE (Full Site Editing) block themes. Core principle: Build accessible, performant, and WordPress-standards-compliant themes.
| Classic Theme | PHP templates, customizer | style.css, functions.php, templates/.php | | Block Theme | FSE, theme.json based | style.css, theme.json, templates/.html, parts/.html | | Hybrid Theme | Mix of both approaches | All of the above | | Child Theme | Extends parent theme | style.css, functions.php |
| Critical | Theme won't work, security vulnerability | | Warning | Theme Check failure, accessibility issue | | Info | Best practice suggestion, optimization |
أفضل الممارسات والمعايير لتطوير موضوع WordPress. يُستخدم عند إنشاء سمات جديدة، أو إنشاء قوالب مخصصة، أو تنفيذ ميزات السمات، أو العمل مع التسلسل الهرمي للقالب، أو خيارات أداة التخصيص، أو سمات كتلة FSE، أو عندما يذكر المستخدم "تطوير السمة"، أو "السمة الفرعية"، أو "التسلسل الهرمي للقالب"، أو "theme.json"، أو "المخصص"، أو "أجزاء القالب"، أو "سمة الكتلة"، أو "السمة الكلاسيكية"، أو "معايير السمات". المصدر: vapvarun/claude-backup.