I just tried the code and everything, but it still doesn’t work, probably i just missed something but i can’t figure out what..
This is what my kleo-child functions.php file looks like:
COPY CODE
<?php
/**
* @package WordPress
* @subpackage Kleo
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Kleo 1.0
*/
/**
* Kleo Child Theme Functions
* Add custom code below
*/
function show_full_width_header_on_boxed_layout(){
echo '';
echo '';
}
add_action('kleo_header',
'show_full_width_header_on_boxed_layout', 9999);
function
show_full_width_footer_on_boxed_layout($sidebar){
if($sidebar == 'footer'){
echo '';
echo '';
}
}
add_action('get_sidebar',
'show_full_width_footer_on_boxed_layout', 9999);