I'm following this tutorial: [[LINK href="http://themeforest.net/forums/thread/how-to-support-wordpress-30-custom-menu-in-my-theme-need-help-please-customer-wants-it/29149"]][[/LINK]] to install Superfish for WP 3.0.
I'm extremely stupid when it comes to PHP, so... here's the code that needs to be fixed:
<?php wp_nav_menu(array('menu' ?> 'The Name of your Menu','theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>
According to the guy on the site the problem with it is:
<strong>Can’t get it to work; replace > with >
It’s an array, it should be = > (without the space)</strong>
And I'm not sure what that means, fix it for me!
Baki Goxhaj answers:
Here:
<?php wp_nav_menu(array('menu' => 'The Name of your Menu', 'theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>
John Cotton answers:
Shouldn't it be
<?php wp_nav_menu(array('menu' => 'The Name of your Menu','theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>
Nathan Parikh answers:
Try this:
<?php wp_nav_menu(array('menu' => 'The Name of your Menu','theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>
Nilesh shiragave answers:
<?php wp_nav_menu(array('menu'=>'The Name of your Menu','theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>