Site is white and will not load when child theme is active
-
Hello.
Not sure what happened.
I tried to insert an iframe command into my functions.php file, which of course did not work. So I removed it.
Now when the child theme is active I cannot get into word press, and O have to SFTP in and remove it.The error I get is:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas04_data02/42/2342542/html/wp-content/themes/raindrops-child/functions.php:1) in /home/content/p3pnexwpnas04_data02/42/2342542/html/wp-includes/pluggable.php on line 1179Here is my functions.php file:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_filter( 'raindrops_footer_text', 'function_name' ); function function_name( $return_value ) { $return_value = ''; $html_before = '<p style="text-align:center;color:red;">2014 ALL-Serve Niagara</p>'; return $html_before . $return_value ; }
And my style.css:
/* Theme Name: Raindrops Child Template: raindrops Version: 1.0 */ .hentry li{ margin-bottom:0; }
Thanks,
Paul
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Site is white and will not load when child theme is active’ is closed to new replies.