Title: Reusable Admin Panel
Author: Poly Plugins
Published: <strong>25 Tháng 1, 2023</strong>
Last modified: 21 Tháng 8, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/reusable-admin-panel/assets/banner-772x250.png?rev=3271432)

![](https://ps.w.org/reusable-admin-panel/assets/icon-256x256.png?rev=3271432)

# Reusable Admin Panel

 Bởi [Poly Plugins](https://profiles.wordpress.org/polyplugins/)

[Tải về](https://downloads.wordpress.org/plugin/reusable-admin-panel.1.0.7.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/reusable-admin-panel/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/reusable-admin-panel/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/reusable-admin-panel/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/reusable-admin-panel/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/reusable-admin-panel/)

## Mô tả

A settings class to help developers easily add beautiful admin pages and handle 
getting, sanitizing, and saving options.

### Update

With the updated release of [Settings Class for WordPress](https://github.com/PolyPlugins/Settings-Class-for-Wordpress),
we do not plan to add new features to this plugin. We will continue to provide fixes,
but adding new functionality would make it difficult to maintain as it would need
to be fully backwards compatible.

Settings Class for WordPress may include breaking changes, but it does not auto 
update, so you won’t have to worry about plugins breaking unexpectedly. You can 
take your time to migrate to the new version, and any breaking changes will be reserved
for major releases.

### About

Our goal was to create a reuseable admin panel that can be used by various plugins
without having to build or include classes of the same code in multiple plugins,
while at the same time being quick to setup.

View our [Documentation](https://www.polyplugins.com/docs/reusable-admin-panel/)
to see a list of fields and their parameters.

You can also download our [example plugin](https://www.polyplugins.com/reusable-admin-panel-example-plugin/)
to get up and running as quick as possible.

Have suggestions? Submit a Pull Requests via [Github](https://github.com/PolyPlugins/Reusable-Admin-Panel).

### Features

 * Bootstrap
 * Font-Awesome Field Info Buttons and Sidebar Info Helper
 * jQuery Dynamic Navigation
 * Validation using validator.js
 * Automatic sanitization and saving of options
 * Method built to easily get individual options
 * Settings Grouped Under One Option in Database (Saved as Multi-Dimensional Array)
 * Bootstrap Spinner Preloader (Prevents Layout Shifting on Load)
 * Removes notices from other plugins when displaying admin panel
 * Prevent users from deactivating by displaying a [sweetalert2](https://sweetalert2.github.io)
   to deactivate the plugin using the dependency.

### Fields

 * Switch
 * Text
 * Textarea
 * Email
 * URL
 * Password
 * Number
 * Dropdown
 * Date
 * Time
 * Color
 * Dropdown Toggle – Additional fields can be added under a dropdown which show/
   hide based on selected option
 * Button – Add multiple buttons that can link or be targeted in custom JS

## Ảnh màn hình

[⌊Plugin Panel⌉⌊Plugin Panel⌉[

Plugin Panel

[⌊Plugin Panel expanded with help sidebar⌉⌊Plugin Panel expanded with help sidebar⌉[

Plugin Panel expanded with help sidebar

[⌊Warning on deactivation⌉⌊Warning on deactivation⌉[

Warning on deactivation

## Cài đặt

 1. Backup WordPress
 2. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 3. Activate the plugin through the ‘Plugins’ screen in WordPress

## Hỏi đáp

### Who is this built for?

This is purely for developers to help streamline their development process by making
it easier to produce a settings page for their plugins.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Reusable Admin Panel” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Poly Plugins ](https://profiles.wordpress.org/polyplugins/)

[Dịch “Reusable Admin Panel” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/reusable-admin-panel)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/reusable-admin-panel/), 
check out [SVN repository](https://plugins.svn.wordpress.org/reusable-admin-panel/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/reusable-admin-panel/)
qua [RSS](https://plugins.trac.wordpress.org/log/reusable-admin-panel/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.7

 * Added: Ability to pass label attribute for those that don’t want the default 
   assigned name
 * Added: An optional step, min, and max attribute to number field
 * Added: Textarea rows attribute to allow larger height textarea
 * Added: Placeholder attribute to text, textarea, email, url, password, number,
   date and time fields
 * Added: Documentation for field usage to polyplugins.com/docs/reusable-admin-panel/
 * Added: Security enhancements
 * Updated: The color field to use sanitize_hex_color instead of sanitize_text_field
 * Bugfix: The “disabled” parameter was not available in dropdown type
 * Bugfix: Dropdown Toggle not setting equal label widths correctly
 * Bugfix: Support configuration is suppose to be optional
 * Bugfix: If type is left out of config, it provides no error.
 * Bugfix: If name is left out of config, it provides no error.

#### 1.0.6

 * Added: Textarea input
 * Added: Callback to handle errors. Used when conditionally adding fields and needing
   an error to display.
 * Bugfix: URL to have example url as placeholder instead of label
 * Bugfix: Dropdowns to have Select Option as placeholder instead of the label

#### 1.0.5

 * Updated: Removed plugin name from panel h2
 * Updated: Options panel to have a minimum height based on the height of tabs
 * Bugfix: Labels for input-group-text not resizing properly
 * Optimization: Restructured settings.js to be more readable

#### 1.0.4

 * Updated: Label styling to be next to the field for a cleaner look
 * Bugfix: Tab indexing
 * Bugfix: Handling of multiple fields for dropdown toggle
 * Bugfix: Dropdown field not full width

#### 1.0.3

 * Added: dropdown_toggle field can add additional fields under a dropdown which
   show/hide based on selected option
 * Added: Support for button fields
 * Added: Support for custom JS to take advantage of button fields and other custom
   needs
 * Added: Ability to use SweetAlert2 function in custom js
 * Added: Plugin name to section titles
 * Added: Ability to add classes to fields
 * Optimized: Sanitization method
 * Bugfix: Scroll to top on info button click

#### 1.0.2

 * Bugfix: Warning on initial activation
 * Bugfix: Bootstrap 5 toggle button not displaying

#### 1.0.1

 * Bugfix: Default logo not showing if config is not set

#### 1.0.0

 * Initial Release

## Meta

 *  Phiên bản **1.0.7**
 *  Cập nhật lần cuối **10 tháng trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.5**
 *  Phiên bản PHP ** 5.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/reusable-admin-panel/)
 * Thẻ
 * [admin](https://vi.wordpress.org/plugins/tags/admin/)[developer](https://vi.wordpress.org/plugins/tags/developer/)
   [developer tool](https://vi.wordpress.org/plugins/tags/developer-tool/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/reusable-admin-panel/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/reusable-admin-panel/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/reusable-admin-panel/reviews/)

## Những người đóng góp

 *   [ Poly Plugins ](https://profiles.wordpress.org/polyplugins/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/reusable-admin-panel/)