WordPress.org

Ready to get started?Download WordPress

Forums

Sweet Custom Menu
[resolved] sweet custom menu don't work after install it (4 posts)

  1. Richzendy
    Member
    Posted 1 year ago #

    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

  2. elliottbenzle
    Member
    Posted 11 months ago #

    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.

  3. Jon Scaife
    Member
    Posted 8 months ago #

    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

  4. Richzendy
    Member
    Posted 8 months ago #

    I'm glad I could help

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic