Hello,
I modified Wordpress site functions.php file and now I’m getting “Parse error: syntax error, unexpected ‘add_theme_support’ (T_STRING)”.
phpcodechecker.com says that the syntax error is here but I can’t find it:
add_theme_support( ‘structured-post-formats’, array(
Below is part of the code. Thanks a lot for your help!
/* THEME FRAMEWORK FUNCTIONS
================================================== */
if ( ! function_exists( ‘sf_include_framework’ ) ) {
function sf_include_framework() {
require_once( SF_FRAMEWORK_PATH . ‘/swift-framework.php’ );
}
add_action( ‘init’, ‘sf_include_framework’, 10 );
}to_cart
/* THEME SUPPORT
================================================== */
add_theme_support( 'structured-post-formats', array(
'audio', 'gallery', 'image', 'link', 'video'
) );
add_theme_support( 'post-formats', array(
'aside', 'chat', 'quote', 'status'
) );
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'woocommerce' );
set_post_thumbnail_size( 220, 150, true);
add_image_size( 'widget-image', 94, 70, true);
add_image_size( 'thumb-image', 600, 450, true);
add_image_size( 'thumb-image-twocol', 900, 675, true);
add_image_size( 'thumb-image-onecol', 1280, 960, true);
add_image_size( 'blog-image', 1280, 9999);
add_image_size( 'full-width-image', 1280, 720, true);
add_image_size( 'full-width-image-gallery', 1280, 720, true);