About The Tests
This site is using the standard WordPress Theme Unit Test Data for content. The Theme Unit Test is a series of posts and pages that match up with a checklist on the WordPress codex. You can use the data and checklist together to test your theme. It is recommended that you test your theme with the Theme Unit Test before submitting your theme to the WordPress.org theme directory.
WordPress Theme Development Resources
- See the WordPress Theme Developer Handbook for examples of best practices.
- See the WordPress Code Reference for more information about WordPress’ functions, classes, methods, and hooks.
- See Theme Unit Test for a robust test suite for your Theme and get the latest version of the test data you see here.
- See Releasing Your Theme for a guide to submitting your Theme to the Theme Directory.
Lists of Tests
- Template: Featured Image (Vertical)
- Template: Featured Image (Horizontal)
- Template: More Tag
- Template: Excerpt (Defined)
- Template: Excerpt (Generated)
- Template: Paginated
- Template: Sticky
- Template: Password Protected (the password is “enter”)
- Template: Comments
- Template: Comments Disabled
- Template: Pingbacks And Trackbacks
- Post Format: Standard
- Post Format: Gallery
- Post Format: Gallery (Tiled)
- Post Format: Image
- Post Format: Image (Caption)
- Post Format: Image (Linked)
- Post Format: Audio
- Post Format: Video (WordPress.tv)
- Post Format: Video (YouTube)
- Post Format: Aside
- Post Format: Status
- Post Format: Link
- Post Format: Quote
- Post Format: Chat
- Markup: HTML Tags and Formatting
- Markup: Image Alignment
- Markup: Text Alignment
- Markup: Title With Special Characters ~`!@#$%^&*()-_=+{}[]/\;:’”?,.>
- Markup: Title With Markup
- Edge Case: No Content
- Edge Case: Many Categories
- Edge Case: Many Tags
- Edge Case: Nested And Mixed Lists
References:
- Theme Unit Tests – https://github.com/WPTT/theme-unit-test
- a11y Unit Tests – https://github.com/wpaccessibility/a11y-theme-unit-test