Use this tool to create custom code for Theme Features with add_theme_support() function.


  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your project.
  • Or save it as a snippet and share with the community.


If you are still learning how to use this tool, check out the following examples:

The function used in the code.
Add Child Themes Support.
Enable Content Width definition. Maximum allowed width for content in the theme.
Set up the content width value (px) based on the theme's design.
Enable Post Formats to customize the content presentation in the theme.
Enable Featured Image support.
Apply thumbnails for those post types Commas separated post types.
Set custom width and height for thumbnails. Custom image width and height.
Enable Custom Background, to customize background color or background image. Use deprecated add_custom_background() function for pre 3.4 installs.
Default background color. Optional. Default background image. Full URL. Optional
WordPress head callback function. Admin head callback function. Admin preview callback function.
Enable Custom Header image. Use deprecated add_custom_image_header() function for pre 3.4 installs. Allow to upload other header images.
Default header image. Full URL. Header image dimensions - width & height. Allow flexible width and height.
Image random rotation default. Display default header text. Default header text color.
Enable TinyMCE Editor Style to customize the content presentation in the visual editor.
Path to the stylesheet file, relative to the theme directory.
Enable Semantic Markup to improve theme HTML5 markup.
Enable internationalization.
Unique identifier for retrieving translated strings.
The directory where the .mo file can be found.

  Save Snippet