blob: df1fa59ae7223aa9e65c2be918632a8389973969 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* @author Luke Shumaker
* @author Chris Aprea
*/
/**
* In child themes the functions.php is applied before the parent
* theme's functions.php. So we need to wait for the parent theme to add
* it's filter before we can remove it.
*/
function kilabytes_child_theme_setup() {
// Removes the filter that adds the "singular" class to the body element
// which centers the content and does not allow for a sidebar
remove_filter( 'body_class', 'twentyeleven_body_classes' );
}
add_action( 'after_setup_theme', 'kilabytes_child_theme_setup' );
|