Devel

Devel is made up of development oriented administrative components for developers and power users who need more control over their WordPress site.

Features are seperated into components which can be enabled or disabled. In addition, devel has an intuitive API for adding your own custom components into the mix using the devel components API.

Bundled Components

By default, devel comes packaged with:

  • Custom Fields Manager – Allows to you manage all custom fields in your site.

Additional components will be added gradually throughout future releases. If you have any component suggestions, please visit the forums.

Components API

Using the components API, you can add your own components to devel.

Add a component:

add_action( 'devel_register_components', 'register_my_components' );
function register_my_components() {
    register_devel_component( array( 'id' => 'debug', 'label' => 'Debug', 'callback' => 'debug_callback', 'description' => 'This is a custom component.' ) );
}

In your callback function:

function debug_callback() {
    if ( is_active_devel_component( 'debug' ) ) {
        require_once( TEMPLATEPATH . '/devel-component-debug.php' );
    }
}

In devel-component-debug.php you can hook into the devel menu:

add_action( 'admin_menu', 'custom_fields_init' );
function custom_fields_init() {
    add_submenu_page( 'devel', 'Debug', 'Debug', 'manage_options', 'debug-component', 'debug_admin_page' );
}

function debug_admin_page() { ?>
    <div class="class">
        <?php screen_icon('tools'); ?>
        <h2>Debug</h2>
    </div>
    <?php
}

Download

Requires at-least: 2.9
Latest version: Devel v0.1 [zip] (83)

Links

Installation

  1. Upload ‘devel’ to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Devel > Devel Components and activate any components you want.

FAQ

Q. Where do I go to file a bug or ask a question?
A. Please visit the forum for questions or comments: http://wordpress.org/tags/devel/

2 Comments

  1. February 1st, 2010 at 2:12 pm | Permalink

    ehm. Can you write what exactly your plugin do? What components you have put in your plugin, so we do not have to install it just to check it?

    Reply

1 Trackback

You can ping this entry via the Trackback URL.

  1. February 1st, 2010 at 11:29 am

    [...] Craftsman, WordPress hacker and Entrepreneur. HomeAboutContactPluginsComments LoopDevelWidgets Admin FixWordPress [...]

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType

About Ptah

I’m a 21 year old web developer, entrepreneur, and founder of Design by Craftsmen, web creative studio specializing in custom WordPress solutions. Get to know me.

Twitter