Title: Admin Menu Class by 010Pixel
Author: 010pixel
Published: <strong>2015 年 2 月 18 日</strong>
Last modified: 2018 年 8 月 3 日

---

搜索插件

![](https://ps.w.org/admin-menu-class-by-010pixel/assets/banner-772x250.png?rev=
1093136)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/admin-menu-class-by-010pixel/assets/icon.svg?rev=1093129)

# Admin Menu Class by 010Pixel

 作者：[010pixel](https://profiles.wordpress.org/010pixel/)

[下载](https://downloads.wordpress.org/plugin/admin-menu-class-by-010pixel.1.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/admin-menu-class-by-010pixel/#description)
 * [评价](https://cn.wordpress.org/plugins/admin-menu-class-by-010pixel/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/admin-menu-class-by-010pixel/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/admin-menu-class-by-010pixel/#developers)

 [支持](https://wordpress.org/support/plugin/admin-menu-class-by-010pixel/)

## 描述

This plugin is for Theme Developers to create menu on left navigation in wordpress
admin panel. It simplifies code for creating menus/submenus.
 Supports including
files for each page if necessary.

### Use

Create arguments array (as shown in sample code in plugin file) and call the class,
it will handle everything.

For any query, you can contact me at [010 Pixel](http://www.010pixel.com/)

## 安装

 1. Unpack the download-package
 2. Upload folder include all files to the `/wp-content/plugins/` directory. The final
    directory tree should look like `/wp-content/plugins/010pixel-admin-menu-class/
    admin_menu_class_by_010pixel.php`
 3. Activate the plugin through the `Plugins` menu in WordPress
 4. That’s it, you can start using use this class in your theme to make menus in admin
    panel.

 * or use the automatic install via backend of WordPress

## 常见问题

  Installation Instructions

 1. Unpack the download-package
 2. Upload folder include all files to the `/wp-content/plugins/` directory. The final
    directory tree should look like `/wp-content/plugins/010pixel-admin-menu-class/
    admin_menu_class_by_010pixel.php`
 3. Activate the plugin through the `Plugins` menu in WordPress
 4. That’s it, you can start using use this class in your theme to make menus in admin
    panel.

 * or use the automatic install via backend of WordPress

  How to use this class?

The plugin file contains a sample code which explains how to use this class to create
menus.

  How to include file for the page?

Add a parameter called `'include' => 'file_path'` for any menu/submenu item you 
want to include file for.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Admin Menu Class by 010Pixel」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ 010pixel ](https://profiles.wordpress.org/010pixel/)

[帮助将「Admin Menu Class by 010Pixel」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/admin-menu-class-by-010pixel)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/admin-menu-class-by-010pixel/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/admin-menu-class-by-010pixel/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/admin-menu-class-by-010pixel/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/admin-menu-class-by-010pixel/)。

## 更新日志

#### v1.0.0

 * Initial release.

#### v1.1.0

 * Added support for including files for each menu/submenu item

#### v1.1.1

 * Removed bug in converting users to array of users [line: 213, 244]

#### v1.2.0

 * Create only those menu/submenu item which are necessary for logged-in user roles

#### v1.2.1

 * 2018-08-03
 * Tested with latest version

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/admin-menu-class-by-010pixel/)
 * 标签
 * [010pixel](https://cn.wordpress.org/plugins/tags/010pixel/)[admin menu](https://cn.wordpress.org/plugins/tags/admin-menu/)
   [class](https://cn.wordpress.org/plugins/tags/class/)[dev](https://cn.wordpress.org/plugins/tags/dev/)
 *  [高级视图](https://cn.wordpress.org/plugins/admin-menu-class-by-010pixel/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/admin-menu-class-by-010pixel/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/admin-menu-class-by-010pixel/reviews/)

## 贡献者

 *   [ 010pixel ](https://profiles.wordpress.org/010pixel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/admin-menu-class-by-010pixel/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://donorbox.org/building-helpful-google-chrome-extensions)