🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Codepress Menu icon
Möglicherweise aufgegeben Tested up to 3.6.1

Codepress Menu

Allows you to display a sub-menu, it's depth from there on and gives you control over the menu-item classes.

Aktive Installationen90+10+ Stufe
Downloads · 30d119▲ +72.5% vs prev. 30d
Wertung5/52 Bewertungen
Gesundheits-Score32/100In Gefahr
Downloads aller Zeiten8.7KSince Aug 2012
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.1PHP ANY
Downloads · 7d30▼ -9.1% week over week
Unser Urteil

Betrachten Sie eine Alternative

Codepress Menu shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 13 years ago, and scores 32/100 on our health check.

  • Kleine Benutzerbasis (90+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • No update in 13 years
  • Only tested up to WordPress 3.6 (latest is 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

257Sep 1Oct 15Nov 29
Gestern3
Täglicher Durchschnitt (1 Jahr)2
Spitzentag11May 28, 2026
Letzte 12 Monate672

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Codepress Menu stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Menü >100 10,000 Beste Menü-Plugins →
nav >100 1,014 Best nav plugins →
navigation >100 7,095 Best navigation plugins →
submenu >100 1,615 Best submenu plugins →
walker >100 124 Best walker plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.3100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Codepress Menu

From the official readme · v2.3.2

Beschreibung

Uses the native wp_nav_menu(). Add parameters to the wp_nav_menu() to enable functionality.
Also, ships with one-click delete menu-items in the WordPress admin. Turned off or on using the screen-options. Sweet.

Beispiele

This will get the first sub-menu from the active branch and 2 levels beyond (menu + sub-menu + sub-menu):

wp_nav_menu( array(
    'level' => 2,
    'depth' => 3
));

Show the current branch only:

wp_nav_menu( array(
    'level' => 1
));

Aimed on simple use in various use cases:

// display first level in the header
wp_nav_menu( array(
    'depth' => 1
));

// display first sub-menu from the current branch somewhere else
wp_nav_menu( array(
    'depth' => 2,
    'level' => 2
));

Another feature is it’s control over the css classes that are given to a menu-item. You might be faced with css selectors
which you cannot change. The ‘codepress_menu_filter_classes’ filter can be used in your functions.php to set the class property:

/**
 * Change the classes of a menu item
 *
 * @param array $classes List current classes
 * @param object $item Current menu item
 * @param array $items Current list of items (per level)
 * @param integer $k Key of the current item in $items
 */
function codepress_menu_item_classes( $classes, $item, $items, $k ) {
    // mark the first item
    if ( reset( $items ) == $items[ $k ] )
        $classes[] = 'first';

    // mark the last item
    if ( end( $items ) == $items[ $k ] )
        $classes[] = 'last';

    // map the WordPress default 'current-menu-item' class to 'active'
    if ( in_array( 'current-menu-item', $classes ) )
        $classes[] = 'active';

    return $classes;
}
add_filter( 'codepress_menu_item_classes', 'codepress_menu_item_classes', 10, 4 );

Simple Menu Delete

It ships with one-click delete menu-items within WordPress.
This functionality was integrated from our Simple Menu Delete plugin and enhanced a bit:

  • Turned off or on using the screen-options.
  • Display is more in line with WordPress’s way of delete-links.
  • Works exactly the same now as the nested delete-link which is a click further inside the menu item.

Installation

Search for codepress menu as described in the Codex

oder

  1. Upload codepress-menu to the /wp-content/plugins/ directory
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress

Now you can use wp_nav_menu() with enhanced super-powers 😉

Änderungsprotokoll

We have decided that current way of changing of classes is not in line with how WordPress works. We still offer the possibility to influence the classes, but the focus is on using giving you the tools to do what you want with the 'codepress_menu_item_classes' filter.

2.3.2

  • Fixed a strict standards warning when calling walk()

2.3.1

  • Fixed a bug where adding menu items would not show the remove link

2.3

  • A more WordPress-like implementation of the menu-item class control.
  • Added a one-click delete for menu-items in wp-admin (can be turned off or on via screen options).
  • Minor code cleanup, adhering WordPress standards… even more!

2.2.2

  • get_nav_menu_locations() in WordPress < 3.6 can return false, will now check if it is an array and not break the foreach loop.
  • Minor code cleanup, adhering WordPress standards.

2.2.1

  • Now checks if a given theme_location exists and is set or will just return the $args and let WordPress handle the parsing.
  • Unsets an item once it has a match in the indent function, better performance.
  • Removed the extraction from the indent function, slightly better performance.
  • Minor code cleanup, adhering WordPress standards.

2.2

  • Bugfix: level set higher then 2 sometimes gave incorrect results.
  • Recoded it to match the WordPress coding standards (hope we managed to do this).
  • The items no longer have a separate class. It was not needed after all and this is more of a WordPress approach.
  • Added a filter (codepress_ignore_theme_locations) to tell the plugin not to apply on certain theme locations.
  • Removed some hooks that could only cause unwanted behavior and mostly targeted the separate item class (codepress_menu_return_false_on_empty_list_after_filters, codepress_menu_filter_classes, codepress_menu_items, codepress_menu_set_walker, codepress_menu_item_sanitize_classes).
  • Allowed the item-id. We see no harm in it after all. (codepress_menu_item_sanitize_id)

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Codepress Menu alternatives

All menu plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Admin-Menü-Editor Admin-Menü-Editor Ermöglicht das Bearbeiten des WordPress-Admin-Menüs. Sie können Menüs neu ordnen, ausblenden oder umbenennen, benutzerdefinierte… Von Janis Elsts 300K+ ★★★★★★★★★★ 4.6 (312) Vor 2 Wochen 80
2 Max Mega Menu Max Mega Menu An easy to use mega menu plugin. Written the WordPress way. by megamenu 300K+ ★★★★★★★★★★ 4.8 (884) Vor 6 Tagen 88
3 Menu Image, Icons made easy Menu Image, Icons made easy Adds an image or icon in the menu items. You can choose the position of the image (after… by Rui Guerreiro 100K+ ★★★★★★★★★★ 4.5 (123) Vor 1 Jahr 39
4 Duplicate Menu Duplicate Menu Easily duplicate your WordPress menus with one click. by Jon Christopher 100K+ ★★★★★★★★★★ 4.6 (104) Vor 11 Monaten 62
5 User Menus – Nav Menu Visibility User Menus – Nav Menu Visibility Show/hide menu items to logged in users, logged out users or specific user roles. Display… Von Daniel Iser 70K+ ★★★★★★★★★★ 5 (1.3K) Vor 3 Monaten 76
6 Menu Cart for WooCommerce Menu Cart for WooCommerce Automatically displays a shopping cart in your menu bar. Works with WooCommerce and Easy… by WP Overnight 70K+ ★★★★★★★★★★ 4.6 (99) Vor 2 Wochen 78
7 WP Mobile Menu – The Mobile-Friendly Responsive Menu WP Mobile Menu – The Mobile-Friendly Responsive Menu Need some help with the mobile website experience? Need an Mobile Menu plugin that keep… by Rui Guerreiro 70K+ ★★★★★★★★★★ 4.7 (256) Vor 3 Wochen 79
8 Nav Menu Roles Nav Menu Roles Hide custom menu items based on user roles. by HelgaTheViking 70K+ ★★★★★★★★★★ 4.9 (219) Vor 1 Monat 95
9 Bedingte Menüs Bedingte Menüs Dieses Plugin ermöglicht es Ihnen, bedingte Menüs pro Posts, Seiten, Kategorien, Archiv… von thefyme 60K+ ★★★★★★★★★★ 4.4 (71) Vor 4 Monaten 62
10 Gum Addon for Elementor Gum Addon for Elementor Offers inbuilt widgets for elementor that help to create design more attractive by Atawai 50K+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 64

Fragen und Antworten

Codepress Menu: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Codepress Menu free?

Yes. Codepress Menu is free to download and use from the official WordPress.org plugin directory.

Is Codepress Menu safe to use in 2026?

Codepress Menu shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 13 years ago, and scores 32/100 on our health check.

How many websites use Codepress Menu?

Codepress Menu is active on 90+ WordPress websites and has been downloaded 8,673 times since it launched in August 2012. It was downloaded 119 times in the last 30 days.

Does Codepress Menu work with WordPress 7.1?

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

When was Codepress Menu last updated?

The latest version, 2.3.2, was released on August 2, 2013 (13 years ago).

Who makes Codepress Menu?

Codepress Menu is developed and maintained by David Mosterd.

What are the best alternatives to Codepress Menu?

The most popular alternatives to Codepress Menu are Admin Menu Editor (300K+ installs), Max Mega Menu (300K+ installs) and Menu Image, Icons made easy (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen