Title: Responsive child theme function-sidebar.php
Last modified: August 22, 2016

---

# Responsive child theme function-sidebar.php

 *  [Helen-kh](https://wordpress.org/support/users/helen-kh/)
 * (@helen-kh)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/responsive-child-theme-function-sidebarphp/)
 * I am using Responsive theme and created a child theme too where I edit my files.
   I’d like to add some custom sidebars to custom templates. I learned I can use
   register sidebar function with array and add that to my template page. If I add
   this function under function-sidebar.php in mother theme, it shows under widget
   sections but when I put the <?php if ( !dynamic_sidebar( ‘custom-sidebar’ ) ):?
   > in the template in child theme the front site breaks.
    Also when I add the 
   function to function-sidebar.php in child theme, nothing happens.
 * Another question: when I add function.php in the main directory to my child theme
   the whole site breaks. I thought I can include any files from mother theme into
   child theme.
 * Any suggestions please?
    Thanks

The topic ‘Responsive child theme function-sidebar.php’ is closed to new replies.

## Tags

 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [Responsive Theme](https://wordpress.org/support/topic-tag/responsive-theme/)

 * 0 replies
 * 1 participant
 * Last reply from: [Helen-kh](https://wordpress.org/support/users/helen-kh/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/responsive-child-theme-function-sidebarphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
