Title: Subtitle Filter
Author: Marcus Downing
Published: <strong>6. mai 2011</strong>
Last modified: 31. januar 2012

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/submenu-filter.svg)

# Subtitle Filter

 Av [Marcus Downing](https://profiles.wordpress.org/marcusdowning/)

[Last ned](https://downloads.wordpress.org/plugin/submenu-filter.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/submenu-filter/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/submenu-filter/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/submenu-filter/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/submenu-filter/#developers)

 [Hjelp](https://wordpress.org/support/plugin/submenu-filter/)

## Skildring

When writing or modifying a theme, the function wp_nav_menu() displays the contents
of menus configured in your settings. If you have a lot of little menus the list
can get hard to manage, so this plugin lets you group several menus under a single
menu.

To use it, simply add a `submenu` parameter to the arguments of wp_nav_menu, like
so:

    ```
    wp_nav_menu(array(
      'menu' => 'header',
      'submenu' => 'About Us'
    ));
    ```

## Installasjon

Install this plugin in the normal way:

 1. Place it in your `/wp-content/plugins/` directory
 2. Activate the plugin through the «Plugins» menu in WordPress
 3. Use the `wp_nav_menu` function with a `submenu` parameter in your templates
 4. wp_nav_menu(array(
     «menu» => «header», «submenu» => «About Us» ));

## Vanlege spm.

  What happens if there’s no submenu with the right name?

It defaults to the main menu, the same as if the plugin wasn’t installed.

  How do I select a menu more than one level deep?

You can go several levels deep by putting slashes in:

    ```
    wp_nav_menu(array(
      'menu' => 'header',
      'submenu' => 'About Us/Board of Directors'
    ));
    ```

Or if you prefer with an array:

    ```
    wp_nav_menu(array(
      'menu' =>
      'submenu' => array('About Us', 'Board of Directors')
    ));
    ```

  Can I use a page’s slug?

No, the plugin uses the page’s title, not its slug.

  Do I have to type the title exactly the same?

The plugin should be forgiving of small differences in punctuation, capital letters
and so on as long as all the letters are the same.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Subtitle Filter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)

[Omset “Subtitle Filter” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/submenu-filter)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/submenu-filter/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/submenu-filter/) eller abonner på
[utviklingsloggen](https://plugins.trac.wordpress.org/log/submenu-filter/) med [RSS](https://plugins.trac.wordpress.org/log/submenu-filter/?limit=100&mode=stop_on_copy&format=rss).

## Om

 *  Version **1.2**
 *  Last updated **14 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.0.0 eller nyare **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/submenu-filter/)
 * Tags
 * [menu](https://nn.wordpress.org/plugins/tags/menu/)[nav](https://nn.wordpress.org/plugins/tags/nav/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/submenu-filter/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Legg til vurderinga mi](https://wordpress.org/support/plugin/submenu-filter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/submenu-filter/reviews/)

## Contributors

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/submenu-filter/)