Demos


Admin Page Framework Demo Plugins
$7.98

Get the complete demo plugins!

Disclaimer: These demo plugins are for Admin Page Framework v1. For v2, they are moved to the tutorial section.

The instructions are commented in the code. Activating them one by one and reading through the code, you’ll be able to create highly extensible admin pages. The framework automatically makes it extensible.

For theme authors, copy the plugin code (except the heading comment) and put it in your functions.php. ( * In that case, the lines using the plugiins_url() function need to be changed to the appropriate urls. )

screenshot_list_demo_plugins.jpg

1. Create Setting Page

This is a very simple plugin which only adds a page under Settings.

demo-01-create-setting-page.php

screenshot_demo_01.jpg

2. Add Forms

This shows how to add a form and a few input fields. We’ll review other field types in Various Input Types.

demo-02-add-forms.php

screenshot_demo_02.jpg

3. Create Page Group

This creates a separate top level menu and add sub menus and pages to it.

demo-03-create-page-group.php

screenshot_demo_03.jpg

4. Tabs

This shows how to show heading tabs and in-page tabs.

demo-04-tabs.php

screenshot_demo_04.jpg

5. Various Input Types

Covers supported field types.

demo-05-various-input-types.php

screenshot_demo_05.jpg

6. Hooks

Covers supported action and filter hooks.

demo-06-hooks.php

screenshot_demo_06.jpg

7. Verify Form Data

Using a validation callback method, we can verify the submitted form data and show an error message if it fails to match the criteria you specify.

demo-07-verify-form-data.php

screenshot_demo_07.jpg

8. Add To Another Plugin Pages

This shows how to add a sub page to another plugin’s top level page created by this library.

demo-08-add-to-another-plugin-page.php

9. Modify Other Plugin Pages

This shows how to use hooks to modify another plugin’s pages created by this library.

demo-09-modify-other-plugin-pages.php

10. Export and Import Option Settings

This demonstrates how to export settings to a file and import them after that.

demo-10-export-and-import-option-settings.php

screenshot_demo_10.jpg

11. Use Own Option Key

This shows how to use a single custom option key instead of multiple keys of page slugs that the library automatically assignes by default.

demo-11-use-own-option-key.php

12. Image Uploader

This shows how to set up image uploader.

demo-12-image-uploader.php

screenshot_demo_12.jpg

13. Add Links to the Plugin Listing Page

This shows how to add custom links to the columns of the table in the plugin listing page.

demo-13-add-links-in-plugin-listing.php

screenshot_demo_13.jpg

Change Log

  • 07/0/2013
    • Changed: to only instantiate the class object in the administration pages.
    • Merged: with Admin Page Framework 1.0.4.2.
  • 04/07/2013
    • Changed: to use the newly added methods.
    • Merged: with Admin Page Framework 1.0.4.
  • 04/02/2013
    • Merged: with Admin Page Framework 1.0.3.3.
  • 03/17/2013
    • Changed: the page slug name in Demo 7.
    • Changed: to use dirname( __FILE__ ) for the include statement to avoid failure.
  • 03/12/2013
    • Fixed: incompatibility with 1.0.2.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">