Sorunun bi çözümü varmıdır ?
Parse error: syntax error, unexpected T_STRING in /home/a1439570/public_html/wp-content/themes/socialreach/functions.php on line 1
funcions.php dosyasının kodları
/*translatable theme*/
load_theme_textdomain( 'reach', get_template_directory() . '/langs');
/*Turn on output buffering*/
ob_start();
/*include important files*/
require_once ('themeOptions/functions.php');
require_once ('smartmetabox/SmartMetaBox.php');
require_once ('post_templates.php');
require_once ('bootstrap-carousel.php');
require_once ('pricetable/pricetable.php');
require_once('widgets/latest_twitter/latest_twitter_widget.php');
require_once('chat/wp-wall.php');
require_once ( 'functions/heart/love/heart-love.php' );
require_once ( 'functions/google-fonts.php' );
require_once ( 'functions/multiple-post-thumbnails/multi-post-thumbnails.php' );
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
/*add page builder*/
add_action('after_setup_theme', 'reach_page_builder');
function reach_page_builder() {
include_once(get_template_directory().'/pagebuilder/page-builder.php');
}
/*register sidebars*/
add_action( 'after_setup_theme', 'reach_register_sidebars' );
function reach_register_sidebars() {
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => __( 'General sidebar 1', 'reach' ),
'id' => 'two',
'description' => __( 'General sidebar for use with page builder.' , 'reach'),
'before_widget' => ' ',
'before_title' => '',
'after_title' => '
', ));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => __( 'General sidebar 2', 'reach' ),
'id' => 'one',
'description' => __( 'General sidebar for use with page builder.' , 'reach'),
'before_widget' => ' ',
'before_title' => '',
'after_title' => '
', ));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => __( 'Blog sidebar', 'reach' ),
'id' => 'three',
'description' => __( 'Widgets in this area will be shown in the blog sidebar.' , 'reach'),
'before_widget' => ' ',
'before_title' => '',
'after_title' => '
', ));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => __( 'Footer area widgets', 'oblivion' ),
'id' => 'four',
'description' => __( 'Widgets in this area will be shown in the footer.' , 'oblivion'),
'before_widget' => ' ',
'before_title' => '',
'after_title' => '
', ));
}
if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'WooCommerce Sidebar',
'id' => 'woo',
'description' => __( 'Widgets in this area will be shown in the WooCommerce sidebar.' , 'addict'),
'before_widget' => ' ',
'before_title' => '',
'after_title' => '
', ));
}