Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

My site down after I revised function.php

$
0
0

Replies: 0

Hi everyone.

I made a big mistake that to edit the file function.php directly.

Got this message after doing so: Parse error: syntax error, unexpected ‘return’ (T_RETURN) in /home/nconti5/public_html/wp-content/themes/motif/functions.php on line 247

Here is the line 247
}
add_action( ‘wp_enqueue_scripts’, ‘motif_scripts_styles’ );

/**
* Enqueue Google fonts style to admin screen for custom header display.
*/
function motif_admin_fonts() {
wp_enqueue_style( ‘motif-fonts’, motif_fonts_url(), array(), null );
}
add_action( ‘admin_print_scripts-appearance_page_custom-header’, ‘motif_admin_fonts’ );

/**
* Custom template tags for this theme.
*/
require get_template_directory() . ‘/inc/template-tags.php’;

May anybody let me know where I did wrong?

Thanks very much


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>