Parse error: syntax error, unexpected $end in …line 63
-
I need help! I just pasted a few lines of code to remove page title from the home page and then deleted it out and now my functions.php file is not working and giving this error! Can you please look at the section of code below to see what I am missing? I see after looking it up that this error means I’m missing a closing brace somewhere? I cannot seem to fix it. THANK YOU so much 🙂
/** Customize the entire footer */
remove_action( ‘genesis_footer’, ‘genesis_do_footer’ );
add_action( ‘genesis_footer’, ‘child_do_footer’ );
function child_do_footer() {
?>
<p>© Copyright 2012 Grace Fellowship Christian Center · All Rights Reserved · </p>
<?php
}/** Register a custom admin callback to display the custom header preview with the same style as is shown on the front end */
function georgia_admin_style() {$headimg = sprintf( ‘.appearance_page_custom-header #headimg { background: url(%s) no-repeat; font-family: Georgia, Times, serif; min-height: %spx; }’, get_header_image(), HEADER_IMAGE_HEIGHT );
$h1 = sprintf( ‘#headimg h1, #headimg h1 a { color: #%s; font-size: 30px; font-variant: small-caps; font-weight: normal; line-height: 36px; margin: 10px 0 0; text-decoration: none; }’, esc_html( get_header_textcolor() ) );
$desc = sprintf( ‘#headimg #desc { color: #%s; font-size: 14px; font-style: italic; line-height: 1; margin: 0; }’, esc_html( get_header_textcolor() ) );printf( ‘<style type=”text/css”>%1$s %2$s %3$s</style>’, $headimg, $h1, $desc );
}
genesis_register_sidebar( array(
‘id’ => ‘home-feature’,
‘name’ => ‘home-feature’,
‘description’ => ‘This is a sidebar that goes after the content.’,
) );/** Add inner wrap div to markup */
add_theme_support( ‘genesis-structural-wraps’, array( ‘header’, ‘nav’, ‘subnav’, ‘inner’, ‘footer-widgets’, ‘footer’ ) );/** Add support for 3-column footer widgets */
add_theme_support( ‘genesis-footer-widgets’, 3 );
The topic ‘Parse error: syntax error, unexpected $end in …line 63’ is closed to new replies.