Wsparcie » Motywy » Problem z css, błąd syntax error, unexpected '{', expecting ')'

  • Rozwiązano dogvet

    (@dogvet)


    Pomocy! Coś namieszałam w tym stylu, gdzieś w tej sekcji:

    /*—————————————————————————————————–
    NAVIGATION SECTION
    ——————————————————————————————————*/
    $navigation_option_map = array(
    'menu_button’ => array(
    'setting_type’ => null,
    'control’ => 'TC_controls’ ,
    'section’ => 'nav’ ,
    'type’ => 'button’ ,
    'link’ => 'nav-menus.php’ ,
    'buttontext’ => __( 'Manage menus’ , 'customizr’ ),
    ),
    //The hover menu type has been introduced in v3.1.0.
    //For users already using the theme (no theme’s option set), the default choice is click, for new users, it is hover.
    'tc_theme_options[tc_menu_type]’ => array(
    'default’ => TC_utils::$instance -> tc_user_started_before_version( '3.1.0′ , '1.0.0′ ) ? 'click’ : 'hover’,
    'control’ => 'TC_controls’ ,
    'title’ => __( 'Design and effects’ , 'customizr’),
    'label’ => __( 'Select a submenu expansion option’ , 'customizr’ ),
    'section’ => 'nav’ ,
    'type’ => 'select’ ,
    'choices’ => array(
    'click’ => __( 'Expand submenus on click’ , 'customizr’ ),
    'hover’ => __( 'Expand submenus on hover’ , 'customizr’ ),
    )
    );//end of navigation options
    $navigation_option_map = apply_filters( 'tc_navigation_option_map’, $navigation_option_map , $get_default );

    Wiem, że gdzieś w 389 linijce nie wstawiłam , albo ; ..ale patrzę jak sroka w gnat, próbuję i nic. Ktoś mnie olśni?

    dogvet24.pl

Viewing 4 replies - 1 through 4 (of 4 total)
  • Tak na szybko, zdaje się zgubiłeś zamknąć jednego arraya.
    Czyli jeszcze jeden ) przed linijką
    );//end of navigation options

    Thread Starter dogvet

    (@dogvet)

    A teraz może głupie pytanie, bo ten komunikat blokuje mnie i nie mogę przejść do edytora css w worldpress’ie… CO teraz? Gdzie mam to zmienić, skoro nie mogę się nawet zalogować?

    przez sFTP, albo z poziomu edytora/menadżera plików w panelu konta hostingowego (jeżeli tylko istnieje)

    Thread Starter dogvet

    (@dogvet)

    Dziekuję za pomoc!
    Problem rozwiązany.
    Wlazłam przez ftp i zamknęłam tego arraya, to pomogło.
    Pozdrawiam!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Temat ‘Problem z css, błąd syntax error, unexpected '{', expecting ')'’ jest zamknięty na nowe odpowiedzi.