Languages: English • 中文(简体) • theme support 日本語 (Add your language)
Allows a theme or plugin to get support of a certain theme feature.
<?php get_theme_support( $feature ); ?>
Features list:
See Theme Features for more information.
See Function_Reference/add_theme_support for more.
Returns either:
array()
- containing the arguments passed when support for the feature was registered via add_theme_support( $feature, $arguments )
; OR true
(bool) - if support for the feature was added without arguments (add_theme_support( $feature )
; ORfalse
(bool) - if the feature is not supported by the current theme.get_theme_support() is located in wp-includes/theme.php
.
Theme Support:
add_theme_support(),
remove_theme_support(),
current_theme_supports()
Theme Features:
sidebar,
menus,
post-formats,
title-tag,
custom-background,
custom-header,
custom-logo,
post-thumbnails,
automatic-feed-links,
html5,
editor-style,
content_width