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'll 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.
Admin Page Framework provides plugin and theme developers with easier means of building option pages. Extend the library class and pass your arrays that define 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.
Notes: this framework does not do anything by itself. If you are not a developer, you do not need this.
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 type that will be placed in the section title so that it lets the user set the section title.
system- displays the site system information.
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.
If you want a field type that are not listed here, you can check the field type pack or request a new one in the forum.
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.
Requires: 3.3 or higher
Compatible up to: 4.1.3
Last Updated: 2015-3-15
Active Installs: 200+
3 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?