Site logo

Archived topic

Use a menu or list?

3 replies · Started by Henk on January 29, 2022

Viewing posts 1–4 of 4

Hi,

I would like to use a short menu (between 5 - 15 items) on the right side of a page (I'll define a grid 66% : 33%).

The menu will be included in the 33% part and refers to pages that are relevant for this context. This same short menu will also be used in the other 5-15 pages.

What's the best way to build this menu?
1) Define an extra worpress menu
2) Make a manual list and use this one with copy-past on all 5-15 pages?

One additional note, the menu should support the responsive mode. I mean, when the page is display on a mobile, the menu-items should be displayed as a list.

Thanks for your help.

Hi there,

the simplest method would be to use the Themes sidebar. You can then create a new Menu in Appearance > Menus and then display it using either:

a) the Secondary Navigation with its Location set to Sidebar

OR

b) use a Navigation Menu Widget in the Sidebar.

Hi David,

Thanks for your suggestions, based on your answer I came to an alternative solution.

* I created a menu for the specific context
* added some code to functions.php to create a shortcode to the context menu
* used the shortcode on the page to show the menu

-Henk.

Glad to hear you found a solution!

This archived topic is closed to new replies.