Top Bar
The top bar is a thin strip above the header with two menus: one on the left, one on the right. Use it for utility links such as a phone number, a login link, careers or a language switcher, so the main menu stays short.
It is separate from the announcement bar, which sits above it and carries a single message. A site can show both.
How to set it up
Section titled “How to set it up”- Go to Appearance → Menus, build one or two short menus, and assign them to Top Bar Left and Top Bar Right.
- Go to Appearance → Customize → Top Bar → Top Bar Settings.
- Tick Enable Top Bar.
- Set Top Bar Theme, Sticky Top Bar and Top Bar Mobile Behavior.
- Select Publish.
The bar appears only when it is enabled and at least one of the two locations has a menu. Each menu shows one level; sub-items are not shown.
Options
Section titled “Options”| Option | What it does | Default |
|---|---|---|
| Enable Top Bar | Shows the bar above the header. | Off |
| Top Bar Theme | Light or Dark, independent of the header. | Dark |
| Sticky Top Bar | Keeps the bar at the top of the window with the header while scrolling. Works only when Sticky Header is also on. | Off |
| Top Bar Mobile Behavior | Always Show at Top or Collapse into Hamburger Menu. | Collapse into Hamburger Menu |
On phones
Section titled “On phones”Below the header’s menu breakpoint:
- Collapse into Hamburger Menu hides the bar and puts its links inside the menu drawer, above the main menu. Header buttons can be placed between the two with Mobile Menu Button Position; see Header buttons.
- Always Show at Top keeps the bar above the header as one row. When the links do not fit, the row scrolls sideways, with a fade at the edge that still has links hidden.
Sites that chose Hide on Mobile in theme versions before 1.1.6 now get Collapse into Hamburger Menu, so the links stay reachable.
Using the connector
Section titled “Using the connector”An AI assistant connected through Promptless WP’s connector can set every
option on this page with wordpress_header_set. The bar’s links are menus,
built with wordpress_menu and assigned to the two top bar locations. See
Connector Tools.
Limits and common problems
Section titled “Limits and common problems”- The bar does not appear. Enable Top Bar is off, or neither top bar location has a menu.
- The bar is missing on a phone. It is set to Collapse into Hamburger Menu; open the menu drawer to see its links.
- Sticky Top Bar has no effect. Turn on Sticky Header under Header → Header Appearance.
- A dropdown under a top bar link does not open. The top bar shows one level only. Move sub-items to the top level or to the primary menu.