Title: Subtitle Filter
Author: Marcus Downing
Published: <strong>6 de maig de 2011</strong>
Last modified: 31 de gener de 2012

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Subtitle Filter

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

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

 * [Detalls](https://ca.wordpress.org/plugins/submenu-filter/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/submenu-filter/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/submenu-filter/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/submenu-filter/#developers)

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

## Descripció

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

## Instal·lació

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

## PMF

  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.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Subtitle Filter» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

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

[Traduïu «Subtitle Filter» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/submenu-filter)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/submenu-filter/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/submenu-filter/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/submenu-filter/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/submenu-filter/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **1.2**
 *  Darrera actualització **fa 14 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 3.0.0 o posterior **
 *  Provada fins a **3.1.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/submenu-filter/)
 * Etiquetes
 * [menu](https://ca.wordpress.org/plugins/tags/menu/)[nav](https://ca.wordpress.org/plugins/tags/nav/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/submenu-filter/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/submenu-filter/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/submenu-filter/)