is_dynamic_sidebar


is_dynamic_sidebar ( No parameters )

Returns:
  • (bool) True, if using widgets. False, if not using widgets.
Defined at:

Description

Determines whether the dynamic sidebar is enabled and used by the theme.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

dynamic_sidebar, is_active_sidebar, wp_list_widget_controls_dynamic_sidebar, is_registered_sidebar, is_main_site

Top Google Results

User discussions

wpseek mobile