Skip to content

New Test Suite: Theme Development #8

@jnealey88

Description

@jnealey88

Summary

Add tests for WordPress theme development APIs - currently no theme-specific tests exist.

Current State

  • Zero theme API tests
  • No template hierarchy tests
  • No theme customizer tests
  • No theme hooks coverage

Proposed Tests

Knowledge Tests

  • Template hierarchy order
  • Theme support features
  • Child theme mechanics
  • Customizer API concepts

Execution Tests

  • add_theme_support() for various features
  • Theme hooks (wp_head, wp_footer, wp_body_open)
  • Template hierarchy and get_template_part()
  • Customizer settings with get_theme_mod()
  • Enqueuing theme assets properly
  • get_template_directory() vs get_stylesheet_directory()

Why This Matters

Theme development is a core WordPress skill. Models should understand theme architecture and best practices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions