Parse error: syntax error, unexpected T_FUNCTION….
-
I am getting this error:
all my other wp works, just transfers this website to godaddy hosting from my developer’s host now its not working.i though it was the version of php but it checked and i have 5.3.
If i deleted the code section below, the site works, but now my slide show doesnt work and also the site is not responsive to screen sizes.ERROR:
Parse error: syntax error, unexpected T_FUNCTION in /home/content/f/a/c/facc2631/html/wp-content/themes/royal-de-versailles/functions.php on line 93
This is the php code from my Function.php page
* Queue custom CSS and scripts
*/
(***LINE 93 ERROR***) add_action( ‘wp_enqueue_scripts’, function() {// Load CSS
bones_load_css(array(
‘library/css/bootstrap.min.css’,
//’library/css/bootstrap-responsive.min.css’,
‘http://fast.fonts.com/cssapi/ba530772-e632-4e7a-b387-e98e19816f57.css’
( ));// Load Js
bones_load_js(array(
//’library/js/libs/bootstrap-touch.js’,
‘library/js/libs/bootstrap.min.js’,
‘library/js/libs/jquery.slider.js’,
‘library/js/libs/jgestures.min.js’
//’library/js/libs/zepto.min.js’,
//’library/js/libs/zepto.flickable.min.js’
));(***LINE 113 ERROR***)});
/**
* Queue custom CSS and scripts (admin)
*/
(***LINE 118 ERROR***) add_action(‘admin_enqueue_scripts’, function(){
// Load admin Js
bones_load_admin_js(array(
‘library/js/scripts_admin.js’
));
(***LINE 123 ERROR***)});
The topic ‘Parse error: syntax error, unexpected T_FUNCTION….’ is closed to new replies.