WordPress add_theme_support()

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

This function registers features that the theme supports.

Syntax

  • add_theme_support( $feature )

Parameters

ParameterDetails
$feature(string) The feature being added.

Remarks

List of features to be used in $feature:

  • 'post-formats'
  • 'post-thumbnails'
  • 'html5'
  • 'custom-logo'
  • 'custom-header-uploads'
  • 'custom-header'
  • 'custom-background'
  • 'title-tag'
  • 'starter-content'


Got any WordPress Question?