Build the main menu by hand and assign it to the theme, so new pages stay out until someone adds them. Keep thank-you pages, unfinished promotions and footer pages out, and check after every new page.

A thank-you page in the main menu

An owner adds a thank-you page for the quote form, and a page for next month's promotion, published early so a colleague can read it.

By the next morning both have joined the main menu, wedged between Services and Contact in no sensible order.

The menu that fitted on one line now wraps onto a second, and on a phone the list is longer still.

The menu itself was never edited. The theme added both pages, as it does with every page that is published.

Why the theme lists every page

Many themes have a fallback for sites where no menu has been built: they list every published page in the main menu, so a new site never shows an empty bar.

The order follows a rule the theme picked, usually the alphabet, a page order number few people set, or the date each page went up. The theme cannot tell which pages matter to visitors.

Some menu settings go further and add each new top-level page automatically, even to a menu someone built by hand. Either way, publishing a page changes the menu without anyone deciding it should.

Pages that stay out of the main menu

Most sites have pages that need to exist and be reachable, but not from the menu every visitor sees.

The thank-you page does the most harm there. A visitor who clicks it is thanked for a form they never sent, and if Analytics counts visits to it as enquiries, every click adds one that never happened.

Building the menu by hand

The cure is a menu built on purpose. In WordPress that happens on the Menus screen: create a menu, add the pages visitors need, drag them into order, and assign the menu to the theme's main location.

Once a menu is assigned, the theme stops listing pages on its own. New pages stay out until someone adds them, which is a decision a person should make.

Other systems differ. Some add a page to a menu only when asked, others whenever a box on the page form is ticked, so it helps to know which kind your site runs.

Choosing what goes in

Five to seven items are usually enough for a small business. Order them by what visitors look for, services first and contact last, and label them in the words visitors use.

A menu label can be shorter than the page title. A page with a long title can appear as one or two words, which keeps the menu on one line at narrower widths.

Everything else can sit under a parent item, in the footer, or on the pages where it is needed.

A worked example

A rainwater cistern installer on the Sunshine Coast had a WordPress site built several years ago. Most of its leads come through a quote form, and its owner adds pages himself as services change.

By this spring the main menu ran to eleven items on two lines, sorted alphabetically: About, Cisterns, Contact, Gallery, Home, Privacy, Quote, Sample Page, Spring Promotion, Thank You and Water Testing.

No menu had ever been built, so the theme was listing every page. The sample page installed with WordPress was still published, and Analytics counted each visit to the thank-you page as a quote request.

A menu was built with six items: Home, Cisterns, Water Testing, Gallery, About and Contact, with the quote form on the Contact page. It was assigned to the theme's main location, with automatic adding left off.

Privacy moved to the footer, the sample page was deleted, and the promotion and thank-you pages stayed out.

The menu now changes only when someone edits it, and the quote requests in Analytics match the forms received.

Pages kept out still need a route

A page left out of the menu should be linked from wherever it is needed. The promotion page is reached from the ad or the mailing, and the privacy page from the footer and the form.

The thank-you page should be reached only by sending the form. Many sites also keep it out of search results, since a searcher landing there would be thanked for nothing.

What to check after adding a page

After publishing any page, open the site in a browser where you are not logged in.

Logged-in owners see a toolbar across the top and other things visitors do not, so their view of the site differs from a visitor's.

Read the menu on a computer and on a phone, check its order, and glance at the footer. A minute after each new page is far easier than hearing about it from a customer.

A change of theme deserves the same check. A new theme can leave its main menu location empty, and the fallback list of every page comes back with it.

The counter-case

A small site of five pages that seldom changes can get by with the automatic list, provided every published page is one that visitors should see.

Large sites use automatic lists sensibly too. A sidebar listing the sub-pages of the current section updates itself as pages are added, which saves real work on a site with hundreds of pages.

The main menu is different. It is the one list every visitor reads, and what goes into it should be chosen by a person, with the theme following that choice.

Taking charge of the main menu

  1. Open the site logged out and read the menu.
  2. List every published page on the site.
  3. Mark the pages visitors need from the menu.
  4. Build a menu with those pages, in order.
  5. Assign it to the theme's main menu location.
  6. Leave automatic adding of new pages switched off.
  7. Check the menu after every new page or theme change.

Step five is the easiest to miss. A menu can be built with care and saved, but until it is assigned to the theme's location, the theme goes on showing its own list of every page.

Another way a menu can fail visitors, with its lower half hidden behind a video, is described in drop-down menus that slide behind a video.


Frequently asked questions

Why did a new page appear in my menu?

Many themes list every published page until a menu is built by hand and assigned to the theme. Some menu settings also add new top-level pages automatically.

Which pages should stay out of the main menu?

Thank-you pages, pages for one ad or mailing, unfinished pages, privacy and terms pages, sub-pages that belong in a section, and old pages kept only for links.

What is wrong with a thank-you page in the menu?

Visitors who click it are thanked for a form they never sent, and if Analytics counts visits to that page as enquiries, every click adds a false one.

How many items should a main menu have?

Usually five to seven, ordered by what visitors look for and labelled in their words. Everything else can sit under a parent item or in the footer.

Can a new theme bring the old list back?

Yes. A new theme can leave its main menu location empty, and many themes then fall back to listing every page. Check the menu after any theme change.

How do I see the menu the way visitors do?

Open the site in a browser where you are not logged in, on a computer and on a phone, and read the menu after each new page goes up.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

New pages turning up in your main menu?

Share your website's address with us, and we will build a main menu that changes only when you decide it should.

Start a Conversation