Error
-
I added some code to my functions.php file and got this error:
Parse error: syntax error, unexpected ‘<‘ in /home/leighross/public_html/wp/wp-content/themes/handdrawn-lite/functions.php on line 122I had a look but couldn’t find that ‘<‘ so I removed the code I put in but the error is still showing.
How can I repair this please?I was adding some code to register and display the footer widget.
This is the code from line 109 – 135
function handdrawn_the_custom_logo() { if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); } } endif; /* * Adds editor style * */ function handdrawn_add_editor_styles() { $font_url = str_replace( ',', '%2C', '//fonts.googleapis.com/css?family=Source+Sans+Pro:300,700,300italic' ); add_editor_style( $font_url ); add_editor_style( 'handdrawn-editor-style.css' ); } add_action( 'admin_init', 'handdrawn_add_editor_styles' ); /** * Function to avoid page scroll clicking on "Read More" */ if ( ! function_exists( 'handdrawn_remove_more_link_scroll' ) ) { function handdrawn_remove_more_link_scroll( $link ) { $link = preg_replace( '|#more-[0-9]+|', '', $link );
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Error’ is closed to new replies.