WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the command

 echo '<pre>';print_r(wp_get_sidebars_widgets())  ;   


    [sidebar-page] => Array
        [0] => execphp-5
        [1] => simple-section-nav-3
        [2] => execphp-4
        [3] => wp-forecast-3
        [4] => wp-forecast-4
        [5] => execphp-6

but the sidebar page is not displayed instead the default bar is displayed. why?

share|improve this question
you want to display sidebar in a page or want to display sidebar.php page. – ksr89 Jul 12 '13 at 9:20
i want to display this sidebar in the page – Matoeil Jul 12 '13 at 12:44

you can use dynamic_sidebar() function to display a sidebar in a page.

dynamic_sidebar('Name or ID of dynamic sidebar.')
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.