Facilitates WordPress plugin and theme development.
One of the time-consuming part of developing WordPress plugins and themes is creating setting pages. As you more and more write plugins and themes, you will soon realize major part of code can be reused. Admin Page Framework aims to provide reusable code that eliminates the necessity of writing repeated code over and over again.
You will have more organized means of building option pages with the framework. Extend the library class and pass your arrays defining the form elements to the predefined class methods. The library handles all the complex coding behind the scene and creates the pages and the forms for you.
If you are planning to create a product possibly extended with an unlimited number of add-ons, take advantage of the framework's native extensibility. The created admin pages and forms will become highly extensible with the automatically created hooks. In other words, it empowers other developers to customize your plugin or theme. That will result on making your projects grow.
Also, use the framework as a library and your plugin or theme does not have to require an extra dependency to be installed. Therefore, your product will be perfectly portable.
text- a normal field to enter text input.
password- a masked text input field.
textarea- a text input field with multiple lines. It supports TinyMCE rich text editor.
radio- a set of radio buttons that lets the user pick an option.
checkbox- a check box that lets the user enable/disable an item.
select- a drop-down list that lest the user pick one or more item(s) from a list.
hidden- a hidden field that will be useful to insert invisible values.
file- a file uploader that lets the user upload files.
image- a custom text field with the image uploader script that lets the user set an image URL.
media- a custom text field with the media uploader script that lets the user set a file URL.
color- a custom text field with the color picker script.
submit- a submit button that lets the user send the form.
export- a custom submit field that lets the user export the stored data.
import- a custom combination field of the file and the submit fields that let the user import data.
posttype- a set of check-lists of taxonomies enabled on the site in a tabbed box.
taxonomy- check-lists of taxonomies enabled on the site in a tabbed box.
size- a combination field of the text and the select fields that let the user set sizes with a selectable unit.
section_title- a text field placed in the section title to let the user name the section.
system- displays the site system information.
inline_mixed- consists of inline elements of fields with different field types.
With custom field types, you can create more detailed customized field outputs. The demo component includes the following example custom field types.
ace- a rich code editor.
github- displays GitHub buttons.
path- lets the user select file paths on the server.
toggle- lets the user toggle a switch button.
no_ui_slider- lets the user set values between ranges with a slider.
select2- lets the user select items from a predefined list which cam be populated with AJAX.
post_type_taxonomy- lets the user select taxonomy terms of selected post types.
To get started, go to Dashboard -> Admin Page Framework -> About -> Getting Started.
Activate the demo pages to see the possible features of the framework. To activate it, go to Dashboard -> Admin Page Framework -> Add Ons -> Demo.
Notes: this framework does not do anything by itself. If you are not a developer, you do not need this.
Requires: 3.4 or higher
Compatible up to: 4.7.1
Last Updated: 1 week ago
Active Installs: 500+
1 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?