WordPress.org

Support

Support » Plugins and Hacks » Sweet Custom Menu » [Resolved] sweet custom menu don't work after install it

[Resolved] sweet custom menu don't work after install it

  • This plugin don’t work after install.

    1. You need use declare the walker atribute in a wp_nav_menu function to your menu in header php:

    ‘walker’ => new rc_scm_walker

    Instead:

    ‘walker’ => ‘rc_scm_walker’

    How say in the installation tab (http://wordpress.org/extend/plugins/sweet-custom-menu/installation/)

    2. You need change the last $output line in custom_walker.php from:

    $output .= apply_filters( ‘walker_nav_menu_start_el’, $item_output, $item, $depth, $args );

    To:

    $output .= apply_filters( ‘rc_scm_walker_nav_menu_start_el’, $item_output, $item, $depth, $args );

    To avoid problems with some templates

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I installed this on WP 3.6 and it did not work. I followed Richzendy’s suggestions above and got it working. PLease try the above solution if you are having trouble.

    With WP 3.8 I found I had to add ‘walker’ => new rc_scm_walker() into my wp_nav_menu function.

    Cheers Richzendy for getting me 95% of the way there

    I’m glad I could help

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] sweet custom menu don't work after install it’ is closed to new replies.
Skip to toolbar