WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the theme suffusion, and I'm trying to add a custom navigation menu to only one of my pages.
I've managed to get it almost working using this in my page template:

    wp_nav_menu( array( 'menu' => 'my-menu' ) );

Where '123' is the page id of the page that I want, and 'my-menu' is the menu I want. The page is using the correct template. The correct items are generated with appropriate links, but they are rendered as an unordered list like so:

  • Item 1
  • Item 2
  • Item 3
  • Item 4

If I have the menu bar rendered by my theme (by placing it in one of the slots in the dashboard), it renders this menu horizontally as attractive-looking buttons.

When I do it this way, it correctly only shows up on the page that I want, but is rendered as a vertical bulletted list.

What do I need to change so that the menu is rendered as if done by the theme?

share|improve this question

Your theme's CSS stylesheet is controlling the appearance of the menu, and targeting it via the div that contains it:

#head-nav ul li

Your menu either has to appear within the same markup, or your CSS styles need to be appended / modified to target your new menu.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.