WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • Events
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

WordPress Developer Resources

Other Resources

  • Developer Blog
  • Code Reference
  • WP-CLI Commands
  • Developer Blog
  • Code Reference
  • WP-CLI Commands
HomeTheme HandbookClassic themesTheme Options – The Customize APIOther Resources

Other Resources

↑ Back to top

First published

December 9, 2018

Last updated

June 14, 2019
Previous Customizer Objects Previous: Customizer Objects
Next Tools for Improved User Experience Next: Tools for Improved User Experience

Chapters

  • Theme Handbook
  • Getting Started
    • What Is a Theme?
    • Who Is This Handbook For?
    • Reading This Handbook
    • Tools and Setup
    • Quick-Start Guide
  • Core Concepts
    • Theme Structure
    • Main Stylesheet (style.css)
    • Templates
    • Custom Functionality (functions.php)
    • Including Assets
    • Global Settings and Styles
  • Global Settings and Styles (theme.json)
    • Introduction to theme.json
    • Settings
      • Appearance Tools
      • Blocks
      • Border
      • Color
      • Custom
      • Dimensions
      • Layout
      • Lightbox
      • Position
      • Shadow
      • Spacing
      • Typography
      • Use Root Padding Aware Alignments
      • Settings Reference
    • Styles
      • Applying Styles
      • Using Presets
      • Styles Reference
    • Custom Templates
    • Patterns
    • Template Parts
    • Style Variations
  • Templates
    • Introduction to Templates
    • Templates
    • Template Hierarchy
    • Template Parts
  • Patterns
    • Introduction to Patterns
    • Registering Patterns
    • Using PHP in Patterns
    • Usage in Templates
    • Starter Patterns
    • Block Type Patterns
    • Patterns and Block Locking
  • Features
    • Block Style Variations
    • Block Stylesheets
    • Block Variations
    • Block Patterns (Archived)
  • Advanced Topics
    • Internationalization
    • Child Themes
    • Build Process
    • Privacy
    • Testing
    • Debugging
    • Security
    • Publishing Themes
    • Theme Testing
    • Plugin API Hooks
    • UI Best Practices
    • JavaScript Best Practices
  • Releasing Your Theme
    • Required Theme Files
    • Submitting Your Theme to WordPress.org
    • Testing
    • Theme Review Guidelines
    • Updating Your Theme
    • Writing Documentation
  • Classic themes
    • Your First Theme
    • Theme Basics
      • Categories, Tags, & Custom Taxonomies
      • Conditional Tags
      • Including CSS & JavaScript (Archived)
      • Linking Theme Files & Directories
      • Main Stylesheet (style.css)
      • Organizing Theme Files
      • Post Types
      • Reworking Theme Files & Organization
      • Template Files
      • Template Hierarchy
      • Template Tags
      • The Loop
      • Theme Functions
      • Tools & Resources
    • Theme Functionality
      • 404 Pages
      • Accessibility
      • Administration Menus
      • Block theme accessibility
      • Core-Supported Features
      • Custom Backgrounds
      • Custom Front Page Templates
      • Custom Headers
      • Custom Logo
      • Featured Images & Post Thumbnails
      • Internationalization
      • Localization
      • Media
        • Audio
        • Galleries
        • Images
        • Video
      • Navigation Menus
      • Pagination
      • Post Formats
      • Sidebars
      • Widgets
      • Sticky Posts
    • Theme Options – The Customize API
      • Customizer Objects
      • Other Resources
      • Tools for Improved User Experience
      • The Customizer JavaScript API
      • JavaScript/Underscore.js-Rendered Custom Controls
      • Advanced Usage
    • Template Files
      • Attachment Template Files
      • Custom Post Type Template Files
      • Partial and Miscellaneous Template Files
        • Comment Template
      • Post Template Files
      • Taxonomy Templates
      • Page Templates
    • References
      • List of Template Tags
      • List of Conditional Tags
  • Credits
    • Feedback
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry