Hi,
I am new to php and have been trying to know what went wrong with my php script suddenly.
This is the error that I get on my wordpress blog-
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/leon2007/public_html/wp-content/themes/agentpress/functions.php on line 12
<?php
// Start the engine
require_once(TEMPLATEPATH.'/lib/init.php');
require_once(STYLESHEETPATH.'/lib/init.php');
// Add new image sizes
add_image_size('Slider', 920, 300, TRUE);
add_image_size('Featured Properties', 290, 200, TRUE);
add_image_size('Featured Posts', 115, 115, TRUE);
add_image_size('Small Thumbnail', 110, 80, TRUE);
// Load script for jFlow slider
add_action('get_header', 'agentpress_load_scripts');
function agentpress_load_scripts() {
wp_enqueue_script('jflow', CHILD_URL.'/lib/js/jquery.flow.1.1.js', array('jquery'), '1.1', TRUE);
}
Please help.