
內容簡介
透過 Sukellos 圖片格式 (Sukellos Image Formats) 外掛,輕鬆地管理 WordPress 支援的圖片格式。此外掛會與其他 Sukellos 工具的 WordPress 外掛整合,將它們的設定集成於一個方便且中央管理的管理面板中。
在此了解 Sukellos 外掛的更多資訊。
每個 Sukellos 外掛皆會結合 Sukellos Framework,而 Admin Builder 的基本版本是其中一個功能。Sukellos Framework 是為了加速 WordPress 外掛的開發而設計。一旦在 WordPress 中安裝,它的使用會立即且自然,因為它採用物件導向結構,透過引用和繼承關係實現。此外它允許您克服所有 WordPress 整合的限制,並專注於您功能邏輯的精華。
可取得免費的基本版本外掛,並參閱我們的文件,了解如何使用 Sukellos Framework 使您的工作更輕鬆。
Admin Builder 是嵌入在 Sukellos Framework 中的主要功能。它允許您在 WordPress 儀表板中輕鬆地建立強大而美觀的自定義管理頁面。您可以極簡的程式碼將 Admin Builder 包含在自己的外掛中,即可創建管理頁面,減少您的負擔,並使高級設計成為可能,只需很少的開發技巧。不用擔心實現表單、撰寫欄位,只需專注於您的設定邏輯即可。
Admin Builder 是創建管理 WordPress 選項的配置頁面的強大方法。例如:
```
// 管理頁面。
$admin_page = Admin_Builder::instance()->create_admin_page(
array(
'name' => 'My admin page',
'id' => 'my_admin_page',
'desc' => __( 'My admin page description', 'text_domain' ),
)
);
// 創建文本選項欄位
$admin_page->create_option(
array(
'type' => Item_type::TEXT,
'id' => 'text_option',
'name' => __( 'Text', 'text_domain' ),
'desc' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
)
);
```
有許多標準欄位可用,例如:
- 核取方塊
- 自訂資料的多選(核取方塊和下拉選單)
- 內容
- 標題
- 單選方塊
- 文字
- 文字區域
- 上傳
Admin Builder 設計供開發人員使用。可使用多個鉤子 (hook),進行完整的樣式和行為自訂。
可取得 Admin Builder Examples 外掛,並參閱我們的文件,以獲得許多可供複製/貼上的範例。
在此了解 Sukellos Admin Builder Pro 的更多資訊。
升級到專業版可獲得更多欄位類型:
- AJAX 按鈕(和特性)
- 代碼(JS、CSS、SCSS)
- 色彩選取器
- 日期選取器
- EDD 授權 (Easy Digital Downloads)
- 啟用
- 檔案上傳
- 圖片庫
- 註記
- 數字滑桿
- 下拉選單
外掛標籤
開發者團隊
原文外掛簡介
With Sukellos Image Formats, easily manage the image formats supported by WordPress.
This plugin integrates with other Sukellos Tools WordPress plugins to group their settings in a convenient and centralized administration panel.
Learn more about Sukellos plugins here.
Admin Builder Basic
Each Sukellos plugin integrates Sukellos Framework, and the Basic version of a feature called Admin Builder.
WP Plugin Development In A Minute
The Sukellos framework was designed to speed up the development of WordPress plugins.
Once installed in WordPress, its use is immediate and intuitive thanks to its object-oriented structure, by using inclusion and inheritance. It allows you to overcome all the constraints of integration with WordPress, and to focus on the essentials of your functional logic.
Get the basic plugin offered, and consult our documentation to know how to use the Sukellos Framework to make your work easier.
Easy Admin Pages. Magnify Options
The Admin Builder is the main features embedded in Sukellos Framework. It allows to easily build powerful and beautiful custom admin pages in WordPress Dashboard.
The Admin Builder can be included very simply in your own plugin to create an administration page in a few lines of code. This takes the hassle out of your hands, making high-level designs possible with very little development skill. No need to worry about implementing the form, handling writing fields, just focus on your configuration logic.
Admin Builder is a powerful way to create configuration pages to manage WordPress options.
Example:
// Admin page.
$admin_page = Admin_Builder::instance()->create_admin_page(
array(
'name' => 'My admin page',
'id' => 'my_admin_page',
'desc' => __( 'My admin page description', 'text_domain' ),
)
);
// Create a text option field
$admin_page->create_option(
array(
'type' => Item_type::TEXT,
'id' => 'text_option',
'name' => __( 'Text', 'text_domain' ),
'desc' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
)
);
A lot of standard fields are available:
Checkbox
Multiple choices (checkbox and select) on custom data
Content
Header
Radio
Text
Textarea
Upload
Admin Builder is designed to be used by developers. Many hooks are available to allow full style and behavior customization.
Get the Admin Builder Examples plugin, and consult our documentation, to get many examples to copy / paste.
Upgrade to Admin Builder Pro
Learn more about Sukellos Admin Builder Pro here.
More field and features
Upgrade to pro to get more field types…
AJAX button (and feature)
Code (JS, CSS, SCSS)
Color picker
Date picker
EDD Licensing (Easy Digital Downloads)
Enable
File upload
Gallery
Note
Number slider
Select and multiple choices on predefined WordPress data (users, posts, terms, fonts…)
Sortable
WYSIWYG editor
… and allows tabs creation in admin pages.
Creating an AJAX request becomes child’s play.
Enrich Post Types And User Profiles
Take control of custom fields in any type of posts. The creation of Metabox becomes very simple. All the standard fields can also be used, but this time by associating them with any post type, stored as post_meta. Admin Builder allows disabling classical custom fields display. Users can be enriched by adding fields that are directly visible and modifiable in their own profiles. The management of this user_meta is also possible directly in administration pages.
In the same way as for the options, the management of the post_meta and the user_meta is simplified as much as possible. Just a few lines of code are enough.
Automatic CSS Generation. SCSS Support.
In the administration pages, the options can be taken automatically into account in CSS. Each field value can be dynamically associated with a CSS. More complex styles can also be generated from an administration page thanks to the magic method create_css, in a very simple way. Admin Builder allows the use of a code-like configuration field, thanks to the inclusion of the Ace project. This control offers an input area that supports the CSS / SCSS format. This field can be automatically generated and included in the WordPress front end.
