WAJ Admin Menu
Simple class & shortcodes for easily generating HTML for admin menus set up in WordPress.
Considere uma alternativa
WAJ Admin Menu shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 years ago, and scores 21/100 on our health check.
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 7 anos
- Testado apenas até WordPress 5.2 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where WAJ Admin Menu stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| admin menu | >100 |
| autogenerate | #8 |
| html | >100 |
| nav | >100 |
About WAJ Admin Menu
From the official readme · v1.2.1Descrição
Creates menu in WordPress’s Appearances -> Menus & generates list HTML from it.
Allows custom-set classes & IDs for elements for easier styling & has easy way to automatically add “Skip to Content” link for screen-reader users.
Uso
Since admin menus need to be created before initialization to work in the WordPress admin & used later in template files to print, admin menu objects are handled through static methods in the WPAdminMenuManager singleton class.
1st, before admin loads, call the “createAdminMenu” method on WPAdminMenuManager with a slug & title as the 1st 2 mandatory, & a hash map o’ other attributes as an optional 3rd argument. This will make the menu appear under the given name in Appearances -> Menus in the WordPress admin.
Then you can print the menu through PHP in template files or shortcodes in WordPress content editors.
= PHP
To use through PHP, just call the “printAdminMenu” method on the WPAdminMenuManager class with the mandatory argument o’ the slug representing the admin you want to print ( given when creating the menu earlier ) & an optional hash map o’ attributes to o’erride the ones given when creating the menu, if you want to print the same menu in different places with different element classes, for instance.
= Shortcodes
To print through shortcodes, just use the shortcode [admin-menu slug=”%slug%”], with optional extra attributes to o’erride the attributes given when creating the menu.
WPAdminMenuManager also has 2 templates for easier creation o’ admin menus, a header & footer template. Just call WPAdminMenuManager::createHeaderMenu() or WPAdminMenuManager::createFooterMenu() respectively to create them & either call WPAdminMenuManager::printHeaderMenu() or WPAdminMenuManager::printFooterMenu() or use the shortcodes [header-nav] or [footer-nav].
If you try to print a menu that hasn’t been created yet, it will print nothing.
Valid attributes for admin menus ( all are optional ):
- “nav”: represents the nav element that holds everything. Should hold a hash map with either a class or id attribute, or both.
- “ul”: represents ul element. Should hold the same as “nav”.
- “li”: represents li element. Should hold a hash map with a class attribute.
- “a”: represents a element. Should hold the same as “li”.
- “subnav”: represents child ul elements for multilevel menus. Should hold the same as “li”.
- “subitem”: represents child li elements for multilevel menus. Should hold the same as “li”.
- “sublink”: represents child a elements for multilevel menus. Should hold the same as “li”.
- “parent-link”: represents a elements in top-level li elements that hold child navs. Should hold the same as “li”.
- “skip-to-content”: automatically adds “skip to content” link. Should be a string that will be the anchor ( without the # ) that the “skip to content” link should go to. If not added, “skip to content” link will not be added.
Shortcode attributes that act as these:
- nav-class
- nav-id
- ul-class
- ul-id
- li-class
- a-class
- subnav-class
- subitem-class
- sublink-class
- parent-link-class
- skip-to-content
Exemplo
// functions.php
declare( strict_types = 1 );
namespace MyTheme
{
use WaughJ\WPAdminMenuManager\WPAdminMenumanager;
// Make sure this is initialized early,
// so WordPress Admin knows that this menu is set up.
WPAdminMenuManager::createAdminMenu
(
'extra-menu',
'Extra Menu',
[
'nav' =>
[
'class' => 'extra-menu-nav',
'id' => 'extra-menu-nav'
],
'ul' =>
[
'class' => 'extra-menu-list',
'id' => 'extra-menu-list'
],
'li' =>
[
'class' => 'extra-menu-item'
],
'a' =>
[
'class' => 'extra-menu-link'
],
'subnav' =>
[
'class' => 'extra-menu-subnav'
],
'subitem' =>
[
'class' => 'extra-menu-subitem'
],
'sublink' =>
[
'class' => 'extra-menu-sublink'
],
'parent-link' =>
[
'class' => 'extra-menu-parent-link'
],
'skip-to-content' => 'top'
]
);
}
// inc/header.php
<?php
declare( strict_types = 1 );
namespace MyTheme
{
use WaughJ\WPAdminMenuManager\WPAdminMenumanager;
?>
<header class="header">
<?php WPAdminMenuManager::printAdminMenu( 'extra-menu' ); ?>
</header>
<?php
}
Instalação
- Carregue os arquivos do plugin no diretório
/wp-content/plugins/plugin-nameou instale o plugin por meio da tela de plugins WordPress diretamente. - Ative o plugin através da tela 'Plugins' em WordPress
Log de Changes
1.2
- Add ability to get menu objects & lists ( arrays ) from WPAdminMenuManager.
1.1
- Add current item & current link classes as possible attributes.
1.0
- Initial stable version.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best WAJ Admin Menu alternatives
All admin menu plugins →FAQ
WAJ Admin Menu: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is WAJ Admin Menu free?
Yes. WAJ Admin Menu is free to download and use from the official WordPress.org plugin directory.
Is WAJ Admin Menu safe to use in 2026?
WAJ Admin Menu shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 years ago, and scores 21/100 on our health check.
How many websites use WAJ Admin Menu?
WAJ Admin Menu is active on <10 WordPress websites and has been downloaded 1,529 times since it launched in November 2018. It was downloaded 40 times in the last 30 days.
Does WAJ Admin Menu work with WordPress 7.1?
WAJ Admin Menu is officially tested up to WordPress 5.2.31, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WAJ Admin Menu need?
WAJ Admin Menu requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WAJ Admin Menu last updated?
The latest version, 1.2.1, was released on May 7, 2019 (8 years ago).
Who makes WAJ Admin Menu?
WAJ Admin Menu is developed and maintained by waughjai.
What are the best alternatives to WAJ Admin Menu?
The most popular alternatives to WAJ Admin Menu are Admin Menu Search (3K+ installs), My Wp Brand (2K+ installs) and Wider Admin Menu (2K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
