# Gebruik de \`navigation\_menu\` query parameter om de zijbalk of andere opties te bekijken

**URL:** https://meta.discourse.org/t/use-the-navigation-menu-query-parameter-to-preview-the-sidebar-or-other-options/258401
**Category:** Developer Guides
**Tags:** how-to
**Created:** [16 maart 2023 om 17:58 UTC](https://meta.discourse.org/t/use-the-navigation-menu-query-parameter-to-preview-the-sidebar-or-other-options/258401 "2023-03-16T17:58:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [16 maart 2023 om 17:58 UTC](https://meta.discourse.org/t/use-the-navigation-menu-query-parameter-to-preview-the-sidebar-or-other-options/258401/1 "2023-03-16T17:58:32Z")

</div>

If you are working on a theme for an existing site and want to preview how it will look with the sidebar or other options for the `navigation menu` site setting, you can use the `?navigation_menu` query parameter.

This feature is designed to help theme developers who want their theme to support all modes equally well, or for those who are working on their own site’s theme to prepare for migration from one configuration to another.

To preview a site with different options, append the desired query parameter to the URL of a page:

- `?navigation_menu=sidebar`
- `?navigation_menu=header_dropdown`
- `?navigation_menu=legacy`

For example, you can try it out here on meta:

- [https://meta.discourse.org?navigation\_menu=sidebar](https://meta.discourse.org?navigation_menu=sidebar)
- [https://meta.discourse.org?navigation\_menu=header\_dropdown](https://meta.discourse.org?navigation_menu=header_dropdown)
- [https://meta.discourse.org?navigation\_menu=legacy](https://meta.discourse.org?navigation_menu=legacy)

The `navigation menu` site setting allows you to configure your main navigation menu to be a `sidebar`, a `header dropdown`, or the `legacy` hamburger menu, which was the only option available until the release of Discourse 3.0. Visit: [Try out the new sidebar and notification menus!](https://meta.discourse.org/t/try-out-the-new-sidebar-and-notification-menus/238821) to read more about it.

* * *

This document is version controlled - suggest changes [on github](https://github.com/discourse/discourse/blob/main/docs/developer-guides/docs/05-themes-components/32-navigation-menu.md).

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [27 januari 2025 om 09:54 UTC](https://meta.discourse.org/t/use-the-navigation-menu-query-parameter-to-preview-the-sidebar-or-other-options/258401/2 "2025-01-27T09:54:50Z")

</div>

> [@Discourse](#):
>
> ?navigation\_menu=legacy

Does this still work? I have the impression that “legacy” was removed in the meantime.
