wp parse error hatasını nasıl çözerim

Cyper65

Uzman üye
13 Eki 2012
1,587
0
İzmir
hata bu
Parse error: syntax error, unexpected '{' in /public_html/wp-content/themes/lol/themeOptions/functions.php on line 1

<?php
if ( !function_exists( 'optionsframework_init' ) ) {/*-----------------------------------------------------------------------------------*//* Options Framework Theme/*-----------------------------------------------------------------------------------*//* Set the file path based on whether the Options Framework Theme is a parent theme or child theme */ define('OPTIONS_FRAMEWORK_URL', get_template_directory() . '/themeOptions/admin/'); define('OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/themeOptions/admin/');require_once (OPTIONS_FRAMEWORK_URL . 'options-framework.php');}/* * This is an example of how to add custom scripts to the options panel. * This one shows/hides the an option when a checkbox is clicked. */add_action('optionsframework_custom_scripts', 'optionsframework_custom_scripts');function optionsframework_custom_scripts() { ?><script type="text/javascript">jQuery(********).ready(function() { jQuery('#example_showhidden').click(function() { jQuery('#section-example_text_hidden').fadeToggle(400); }); if (jQuery('#example_showhidden:checked').val() !== undefined) { jQuery('#section-example_text_hidden').show(); }});</script><?php}/* * Turns off the default options panel from Twenty Eleven */add_action('after_setup_theme','remove_twentyeleven_options', 100);function remove_twentyeleven_options() { remove_action( 'admin_menu', 'twentyeleven_theme_options_add_page' );}
?>
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.