WordPress.org

Support

Support » How-To and Troubleshooting » Adding Widget Areas to Child Themes

Adding Widget Areas to Child Themes

  • Hello,

    I want to create a child theme (of TwentyTen) that has custom widget areas. The problem I’m having is that the child functions.php file, of course, doesn’t override its parent theme’s functions.php file (unlike style.css).

    Because of this, I’m unable to run the register_sidebars function twice, and thus register new sidebars. I’m wondering if there’s a way to add a widget area to a child theme without taking out the register_sidebars function in the parent theme.

    Any help is much appreciated. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Widget Areas to Child Themes’ is closed to new replies.
Skip to toolbar