Title: Subtitle Filter
Author: Marcus Downing
Published: <strong>6 maj 2011</strong>
Last modified: 31 januari 2012

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Subtitle Filter

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/submenu-filter/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/submenu-filter/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/submenu-filter/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/submenu-filter/#developers)

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

## Beskrivning

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'
    ));
    ```

## Installation

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’ ));

## Vanliga frågor

  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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Subtitle Filter” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

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

[Översätt ”Subtitle Filter” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/submenu-filter)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/submenu-filter/), 
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/submenu-filter/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/submenu-filter/)
via [RSS](https://plugins.trac.wordpress.org/log/submenu-filter/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.2**
 *  Senast uppdaterat **15 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.0.0 eller senare **
 *  Testat upp till **3.1.4**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/submenu-filter/)
 * Etiketter
 * [menu](https://sv.wordpress.org/plugins/tags/menu/)[nav](https://sv.wordpress.org/plugins/tags/nav/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/submenu-filter/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/submenu-filter/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/submenu-filter/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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