is_dynamic_sidebar


is_dynamic_sidebar ( No parameters )

Returns:
  • (bool) True if using widgets, false otherwise.
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 [Conditional Tags](https://developer.wordpress.org/themes/basics/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