跳到内容

Admin Menu in Frontend

v1.2.0

Kostya Tereshchuk · 2017年10月12日 上架

Shows the WordPress admin menu on the public pages of your site, so every admin screen is one click away while you view the site.

正在使用
10+
评分
4.7 / 5
累计下载
3,534
最近更新
2026年10月15日
3 条评价需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

截图

The admin menu on a public page, with a submenu open.
The admin menu on a public page, with a submenu open.

Admin Menu in Frontend adds the option “Show the admin menu when viewing the site” to your profile. Turn it on, and the admin menu you know from the dashboard appears on the public pages of your site: the same items, the same counters, the same colour scheme, with fly-out submenus.

  • The real admin menu. The plugin keeps a copy of the menu as WordPress renders it for you in the dashboard, including the menus of your other plugins, and styles it with WordPress’s own admin stylesheet and your admin colour scheme.
  • Pinned or hidden. Keep the menu open next to the page, or unpin it: it then waits as a thin strip at the edge of the screen and slides out when you point at it.
  • Collapsed to icons, as in the dashboard.
  • Keyboard accessible. Tab into the menu and it opens; submenus open on focus, Escape closes them.
  • Back to where you were. In the dashboard, the close (×) button in the toolbar returns you to the last public page you viewed.
  • Out of the way where it does not belong: not shown in the Customizer, in embeds, inside iframes, or in the edit modes of popular page builders.
  • Light. No jQuery on your public pages; nothing at all is loaded for visitors or for users who did not turn the option on.

Each user decides for themselves. The plugin turns the option on for the user who activates it; everyone else turns it on in their own profile.

For developers

The filter admin_menu_in_frontend_show decides whether the menu is shown on the current page:

add_filter( 'admin_menu_in_frontend_show', function ( $show, $user_id ) {
    return $show && ! is_page( 'checkout' );
}, 10, 2 );

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums