Button Menu: show a WordPress menu as buttons

On this page

Button Menu shows any menu you build under Appearance → Menus as a row of buttons. Each button can have its own colors and icon. You place the menu on any page with a shortcode.

A menu shown as buttons with the default style

1. Build the menu

  1. Go to Appearance → Menus and create a menu, for example buynow.
  2. Add the pages, posts or custom links you want as buttons.
  3. Click Save Menu.

You don't need to assign the menu to a theme location.

2. Style each button (optional)

Highlight Pro adds extra fields to every menu item. Click the arrow on the right of a menu item to open it:

FieldWhat it does
Button ColorText color of this button.
Button Hover ColorText color when the mouse is over it.
Button BackgroundBackground color of this button.
Button Hover BackgroundBackground color on hover.
Button IconClick Choose Icon to pick a Font Awesome icon shown before the label.
Button fields on a menu item

Click Save Menu when you're done. Fields you leave empty use the global colors from the next step.

3. Set the global look

Go to Highlight Pro → Button Menu. These settings apply to every button menu:

  • Container Background: the area behind the buttons.
  • Button Background, Button Hover Background, Button Color, Button Hover Color: default colors for buttons without their own colors.
  • Submenu Icon: the icon that marks a button with a submenu. Click Choose Icon to change it.
  • Button Hover Animation: an effect when the mouse is over a button, such as Sweep to Right, Bounce to Top, Radial Out or Shutter In Vertical.
  • Submenu Visible Animation: how a submenu appears, such as bounce, pulse, swing or tada.
  • Style: Default or Style 1.
The Button Menu settings page

Click Save Changes.

4. Add the shortcode

Paste the shortcode where you want the buttons, using the menu's name exactly as it appears in Appearance → Menus:



AttributeValuesWhat it does
menuYour menu nameWhich menu to show.
menu_alignleft, center, rightWhere the buttons line up.
styledefault, style-1Overrides the Style setting for this one menu.

Example with a different style:



The same menu with another button style

Tip

The Help tab on the Button Menu page has these shortcode examples ready to copy.

Copy a menu with Duplicate Menu

To make a second button menu based on an existing one:

  1. Go to Highlight Pro → Duplicate Menu.
  2. In Duplicate this menu, pick the menu to copy.
  3. In and call it, type a name for the copy.
  4. Click Duplicate Menu.
The Duplicate Menu page

The copy appears under Appearance → Menus, where you can change it without touching the original.