This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*add widget area between footer widgets and colophon */ | |
add_filter( 'tc_default_widgets' , 'add_footer_colophon_widget' ); | |
function add_footer_colophon_widget( $defaults ) { | |
$defaults['fc_widgets'] = array( | |
'name' => __( 'Footer Colophon Widget' , 'customizr' ), | |
'description' => __( 'Widget Area Before Colophon' , 'customizr' ) | |
); | |
return $defaults; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* remove sidebar borders on home*/ | |
.home #left.widget-area, | |
.home #right.widget-area{ | |
border: none; | |
} | |
.home #left.widget-area:after, | |
.home #right.widget-area:before{ | |
border: none; | |
} | |
/* add #content borders on home */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('__header', 'tc_header_container_start', 0); | |
function tc_header_container_start(){ | |
echo '<div class="tc-header-container container">'; | |
} | |
add_action('__header', 'tc_header_container_end', 100); | |
function tc_header_container_end(){ | |
echo '</div>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('rtmedia_main_template_include', 'tc_rtmedia_comp', 20); | |
function tc_rtmedia_comp() { | |
global $wp_query; | |
$wp_query->is_singular = true; | |
} | |
/*DO NOT COPY THE FOLLOWING IN YOUR CHILD THEME FUNCTIONS.PHP */ | |
/* The following css must be put in your child-theme style.css or in your custom css box */ | |
/* | |
body.media { |