🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Dropdown Menus icon
Peut-être abandonné Testé jusqu'à 3.5.2 #2 in dropdowns

Dropdown Menus

Sometimes for mobile design or more generally small-screen design it can be beneficial to save space by using a dropdown for your navigation.

Installations actives200+100+ niveaux
Téléchargements · 30D153▲ +59.4% vs prev. 30d
Évaluation4.4/55 avis
Score de santé36/100En danger
Téléchargements de tous les temps31.8KDepuis juillet 2011
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.0Php tout
Téléchargements · 7j37▼ -14% week over week
Notre verdict

Envisager une alternative

Dropdown Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4.4/5 and was last updated 14 years ago, and scores 36/100 on our health check.

  • Petite base d'utilisateurs (plus de 200 installations actives)
  • Pas de mise à jour dans 13 ans
  • Uniquement testé jusqu'à WordPress 3,5 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

258Aug 31Oct 14Nov 28
Hier5
Moyenne quotidienne (1 ans)2
Jour de pointe111 novembre 2026
12 Derniers mois801

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Dropdown Menus stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
dropdowns >100 5,770 Best dropdowns plugins →
menus >100 3,466 Meilleurs plugins de menus →
mobile >100 10,000 Best mobile plugins →
la navigation >100 7,092 Meilleurs plugins de navigation →
ui >100 10,000 Best ui plugins →

Adoption de version

Part de sites actifs par version.

  • 1.0100.0%

Répartition des notes

★★★★★★★★★★ 4.4 from 5 reviews

  • 5★60.0%
  • 4★20.0%
  • 3★20.0%
  • 2★0.00%
  • 1★0.00%

About Dropdown Menus

À partir du Lisezmoi officiel · v1.0

Description

Sometimes for mobile design or more generally small-screen design it can be beneficial to save space by using a dropdown for your navigation.

This plugin provides a way to display your custom menus as dropdowns either using a widget or a function call and can be used as an include in any theme.

Usage

If you are using the plugin with a theme you can use the function dropdown_menu() in place of calls to wp_nav_menu().

The dropdown_menu() function takes the same arguments as wp_nav_menu() with the addition of three extras:

<?php
dropdown_menu( array(

    // You can alter the blanking text eg. "- Menu Name -" using the following
    'dropdown_title' => '-- Main Menu --',

    // indent_string is a string that gets output before the title of a
    // sub-menu item. It is repeated twice for sub-sub-menu items and so on
    'indent_string' => '- ',

    // indent_after is an optional string to output after the indent_string
    // if the item is a sub-menu item
    'indent_after' => ''

) );
?>

You can extend and alter the output of the dropdowns using the output filters available in the code.

There are also plenty of styling hooks like in the standard list type menus with the addition of classes for targetting items at a certain depth in the menu (.menu-item-depth-1 for example) aswell the usual .current-menu-item and .current-menu-ancestor classes.

Filters/Hooks

dropdown_blank_item_text

<?php
add_filter( 'dropdown_blank_item_text', 10, 2 );
function my_dropdown_blank_text( $title, $args ) {
    return __( '- Browse -' );
}
?>

If you want to show the menu title as the blank item text use the follwing code:

<?php
add_filter( 'dropdown_blank_item_text', 'dropdown_menu_use_menu_title', 10, 2 );
function dropdown_menu_use_menu_title( $title, $args ) {
    return '- ' . $args->menu->name . ' -';
}
?>

dropdown_menus_indent_string

<?php
add_filter( 'dropdown_menus_indent_string', 10, 4 );
function my_dropdown_indent_string( $indent_string, $item, $depth, $args ) {
    return str_repeat( '&nbsp;&nbsp;', $depth );
}
?>

dropdown_menus_indent_after

<?php
add_filter( 'dropdown_menus_indent_after', 10, 4 );
function my_dropdown_indent_after( $indent_after, $item, $depth, $args ) {
    return '-';
}
?>

dropdown_menus_class

Use this if you find you get class name or CSS conflicts, for example with Twitter Bootstrap.

<?php
add_filter( 'dropdown_menus_class', create_function( '$c', 'return "my-dropdown-menu-class";' ) );
?>

dropdown_menus_select_current

Use this filter to stop the output of the selected="selected" attribute. Useful if you prefer to show the blank option on every page.

<?php
add_filter( 'dropdown_menus_select_current', create_function( '$bool', 'return false;' ) );
?>

Can I make sure this plugin is available to my theme?

If your theme requires this plugin to be available it will work as a simple include. Just place the plugin into your theme directory and include dropdown-menus.php from your functions.php file.

If you place the plugin folder into your theme’s directory you would use the following code in your functions.php file:

<?php
if ( ! function_exists( 'dropdown_menu' ) )
    include( 'dropdown-menus/dropdown-menus.php' );
?>

Journal de modifications

1.0

  • Added check for dropdown_menu being declared already to avoid issues if plugin is used and theme has it embedded

0.9

  • Fixed debug code left in the JS that was affecting IE9 and below. Rookie mistake – really sorry folks.

0.8

  • Dropdown selector explicitly set to work on elements to avoid conflict with twitter bootstrap
  • Added a filter to choose whether or not to use the selected attribute

0.7

  • Added a filter for the dropdown menu class name as it very generic and can cause conflicts

0.6

  • Fixed the echo argument, thanks to squingynaut for the tip
  • Fixed the ability to call the menu via the theme location name only

0.5

  • Better cross browser & old browser support using getElementsByClassName by Rob Nyman (http://code.google.com/p/getelementsbyclassname/)

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Dropdown Menus alternatives

All dropdowns plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Ajax Dropdowns Ajax Dropdowns Display a group of posts that can be switched using dropdowns. by ThemeBoy 300+ ★★★★★★★★★★ 4.9 (14) Il ya 10 ans 38
3 Daniel's DropDowns Daniel's DropDowns This plugin extends the category and archive lists by providing a dropdown (select) box… by Daniel J. Summers 10+ ★★★★★★★★★★ Aucun avis il y a 17 ans 23

FAQ

Dropdown Menus: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Dropdown Menus free?

Yes. Dropdown Menus is free to download and use from the official WordPress.org plugin directory.

Is Dropdown Menus safe to use in 2026?

Dropdown Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4.4/5 and was last updated 14 years ago, and scores 36/100 on our health check.

How many websites use Dropdown Menus?

Dropdown Menus is active on 200+ WordPress websites and has been downloaded 31,839 times since it launched in July 2011. It was downloaded 153 times in the last 30 days.

Does Dropdown Menus work with WordPress 7.1?

Dropdown Menus is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Dropdown Menus last updated?

The latest version, 1.0, was released on January 16, 2013 (14 years ago).

Who makes Dropdown Menus?

Dropdown Menus is developed and maintained by Robert O'Rourke.

What are the best alternatives to Dropdown Menus?

The most popular alternatives to Dropdown Menus are Ajax Dropdowns (300+ installs) and Daniel's DropDowns (10+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir