Functions.php'de bileşen ekliyordum bir hata verdi ama bileşenle alakası yok :confused:
Hata:Parse error: syntax error, unexpected T_STRING in /home/kemre/public_html/demo/wp-content/themes/FaktorWP/functions.php on line 16Functions.php:


//Öne Çıkarılmış Görsel

add_theme_support( 'post-thumbnails' );

set_post_thumbnail_size( 610 , 9999 );



//Yan Menü

if ( function_exists('register_sidebar') )

register_sidebar(array(

'before_widget' => '',

'before_title' => '

',

'after_title' => '

    ',

    ));



    ?>
    /* Çift Sütunlu Kategoriler Bileşeni */

    add_action( 'widgets_init', 'cat_widgets' );

    function FaktorWP_cat_widgets() {
    register_widget( 'cat_widget' );
    }

    class FaktorWP_cat_widget extends WP_Widget {

    function FaktorWP_cat_widget() {

    /* Widget settings */
    $widget_ops = array( 'classname' => 'widget_cat', 'description' => __('Bu Bileşen ile kategorileri çift sütunlu bir şekilde kullanabilirsiniz.', 'FaktorWP') );

    /* Create the widget */
    $this->WP_Widget( 'cat_widget', __('Çift Sütunlu Kategoriler', 'FaktorWP'), $widget_ops );
    }

    function widget( $args, $instance ) {

    ?>

    echo $after_widget;
    }

    function update( $new_instance, $old_instance ) {}

    function form( $instance ) {

    $instance = wp_parse_args( (array) $instance, $defaults ); ?>