Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Admin Menu Class by 010Pixel

Apraksts

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

Uzstādīšana

  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

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Admin Menu Class by 010Pixel” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Admin Menu Class by 010Pixel” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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