_x('Boxes', 'Boxy'), 'singular_name' => _x('Boxes', 'Boxy'), 'add_new' => _x('Přidat nový', 'Boxes'), 'add_new_item' => __('Přidat nový'), 'edit_item' => __('Oprava'), 'new_item' => __('Nový'), 'all_items' => __('Všechny'), 'view_item' => __('Zobrazit'), 'search_items' => __('Hledej'), 'not_found' => __('Nic nenalezeno'), 'not_found_in_trash' => __('Koš je prázdný'), 'parent_item_colon' => '', 'menu_name' => 'Boxy' ); $auta_args = array( 'labels' => $auta_labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite' => true, 'capability_type' => 'post', 'has_archive' => true, 'hierarchical' => false, 'menu_position' => null, 'supports' => array('title','editor','author','thumbnail','excerpt','comments') ); register_post_type('Boxes',$auta_args); } add_theme_support( 'post-thumbnails' ); function mytheme_addmenus() { register_nav_menus( array( 'main_nav' => 'MainMenu', ) ); } add_action( 'init', 'mytheme_addmenus' ); function my_widgets_init() { register_sidebar( array( 'name' => __( 'Slider' ), 'id' => 'slider-widget', 'description' => __( 'The first page widget area' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', ) ); register_sidebar( array( 'name' => __( 'Footer' ), 'id' => 'Footer', 'description' => __( 'The first footer widget area' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', ) ); } add_action( 'widgets_init', 'my_widgets_init' ); function my_custom_init() { $args = array( 'public' => true, 'label' => 'Reference', 'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ), 'capability_type' => 'post'); register_post_type( 'reference', $args ); } //add_action( 'init', 'my_custom_init' ); ?> Parse error: syntax error, unexpected '}' in /var/www/krejci/mouse/wp-content/themes/madmouseman2/header.php on line 43