Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Easiest question of all-time WordPress

  • SOLVED

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 &gt; with >
It’s an array, it should be = > (without the space)</strong>

And I'm not sure what that means, fix it for me!

Answers (4)

2011-01-10

Baki Goxhaj answers:

Here:

<?php wp_nav_menu(array('menu' => 'The Name of your Menu', 'theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>

2011-01-10

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')); ?>


2011-01-10

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')); ?>

2011-01-10

Nilesh shiragave answers:


<?php wp_nav_menu(array('menu'=>'The Name of your Menu','theme_location' => 'top_nav_menu', 'menu_class' => 'sf-menu')); ?>