• In my sidebar.php I call the dynamic_sidebar() function, but would like to first check to see if the user has created a custom menu widget, and if so use that for the navigation.

    The problem occurs when I use is_active_sidebar() to test and it returns true, and the user hasn’t created a custom menu widget (only other widgets), so there needs to be a wp_list_pages() if there isn’t a custom menu widget, or some other function to create a default navigation.

    Suggestions?

  • The topic ‘Test for Custom Menu in a Dynamic Sidebar’ is closed to new replies.