Support » Plugin: WP Custom Widget area » problem with pasting the code for the menu

  • Hello,
    I have a problem with pasting the code for the menu to PHP. After insertion, I encounter an error message:

    Parse error: syntax error, unexpected ‘wp_nav_menu’ (T_STRING) in /data/web/virtuals/121641/virtual/www/domains/jakzitbarevneji.cz/wp-content/themes/quest/header.php on line 22

    I’m not an expert on PHP and do not know how to insert it.

    I enclose a link to the screen.

    You advise please?

    Thank you

    V. Šišpera

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Baldion,

    Please use this something like that.

    <?php if ( function_exists( ‘dynamic_sidebar’ ) ) dynamic_sidebar( ‘your-id-here’ ); ?>
    </div><!–

    you just paste your id and save. Hope it will work. 🙂

    Hello,

    Oh sorry, please delete the </div><!–
    and then save. you just use-

    <?php if ( function_exists( ‘dynamic_sidebar’ ) ) dynamic_sidebar( ‘your-id-here’ ); ?>

    Thanks
    Sakil Ahmed

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem with pasting the code for the menu’ is closed to new replies.