Managing the Secondary Menu

The sec­ondary menu is placed below the head­er bar and can be used on spe­cif­ic pages where you need anoth­er lev­el of orga­ni­za­tion for your con­tent. We’re using on the demo for orga­niz­ing the User Account area:


Step 1 — Create the “Secondary” Menu

First, you need to Cre­ate a Menu by going to Appear­ance → Menus and fol­low the reg­u­lar Word­Press process (more here). Let’s call it “Sec­ondary Menu”.

Note that you don’t need to assign it yet to any menu loca­tion, as we will do this on the next steps.

Step 2 — Add Items to the Menu

From the left sec­tion, you can add links to the desired pages: My Account, List­ings Dash­board, Add List­ing, Book­marks or any oth­er ones (see screen­shot)

Step 3 — Show the Menu only on Specific Pages

The last step is to show the menu only on rel­e­vant pages, as it doesn’t make sense to have it for exam­ple on the “Home” page.

In addi­tion to the Nav Menu Roles plu­g­in that you can use to dis­play spe­cif­ic menu items depend­ing on whether a user is logged in or not, we will use the Con­di­tion­al Menus (free).

Con­di­tion­al Menus is a sim­ple yet use­ful Word­Press plu­g­in which allows you to swap the menus as per spe­cif­ic con­di­tions. In short, you can have dif­fer­ent menus in dif­fer­ent posts, pages, cat­e­gories, archive pages, etc.

After installing and acti­vat­ing the plu­g­in, go to  Appear­ance → Menus → Man­age Loca­tions and add a new Con­di­tion­al Menu for the Sec­ondary Menu area, that will be shown only on the pages men­tioned above:

Addi­tion­al Read­ings:

This article applies to Listable, as they share the same underlying structure.

Updated on June 7, 2017

Was this article helpful?