• Resolved paulevisser

    (@paulevisser)


    Hello

    I was sucsessful in creating a child theme.

    Now I get a new error:
    “Parse error: syntax error, unexpected ‘<‘ in /home/content/p3pnexwpnas04_data02/42/2342542/html/wp-content/themes/raindrops-child/functions.php on line 7”

    Here is the functions.php file I am using:

    <?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' );
    }
    <?php
    add_filter( 'raindrops_footer_text', 'function_name' );
    
    function function_name( $return_value ) {
            $return_value = '';
    	$html_before = '<p style="text-align:center">2014 ALL-Serve Niagara</p>';
    	$html_after	 = '<p style="text-align:center;color:red;">'. get_bloginfo(). '</p>';
    
    	return $html_before . $return_value . $html_after;
    }
    ?>

    Where am I going wrong here?

    Many Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove or alter footer text’ is closed to new replies.