WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: CMS Press] compatibility with 3.0? (8 posts)

  1. Ovidiu
    Member
    Posted 4 years ago #

    as far as I know, this type of functionality will be included in wp 3.0 - any plans how to handle if I am using your plugin, then upgrade later on to 3.0?
    Will I have to start over or will it seamlessly integrate and make your plugin unnecessary then?

    http://wordpress.org/extend/plugins/cms-press/

  2. prettyboymp
    Member
    Posted 4 years ago #

    The custom post type handling built into WordPress 3.0 doesn't allow end users to create their own custom post types. It only makes it easier for developers to add custom post types via code. The cms-press plugin uses the functionality that is built into WP 3.0 (and extends what was in 2.9) to give end users the ability to create their own post types without having to write any code. This is fully compatible with WP 3.0.

  3. Ovidiu
    Member
    Posted 4 years ago #

    great. thx for the info!

  4. idealien
    Member
    Posted 4 years ago #

    I tried it with latest beta of 3.0 and works like a charm.

    One question, might either of the following capabilities be on your roadmap for CMSPress?

    • Ability to add meta box types defined (by plugin) to post types in the same way that you add taxonomies?
    • Ability to create meta box types through a separate form under CMSPress (which then could be added as above

    Both this and Custom Post Types UI are working towards the same goal. Might be worthwhile to collaborate onto one plugin?

  5. prettyboymp
    Member
    Posted 4 years ago #

    Ability to add meta box types defined (by plugin) to post types in the same way that you add taxonomies?

    This is in my future plans, but it probably won't be included until WordPress 3.1 is out. My goal is to simplify the handling of meta boxes in WordPress so that they meta handlers will register with WordPress allowing other plugins to know there there. This will give CMS-Press the API to see what meta boxes are available to support.

    Ability to create meta box types through a separate form under CMSPress (which then could be added as above

    I haven't completely decided yet. Once the meta box handling is improved in core, I'll see how well other plugins out there that allow you to create custom meta boxes are using it to see if I need to add that to cms-press or just suggest to also add plugin X for building custom meta-boxes.

  6. idealien
    Member
    Posted 4 years ago #

    This tutorial from deluxeblogtips gives a great shell to start from:

    • It encapsulates the add / show / update functions for meta boxes into functions that can be easily re-used
    • Definition of a meta box / field types is as simple as definiting an array of field info:
      $meta_box = array(
          'id' => 'idealien-mgrbio',
          'title' => 'Manager Details',
          'page' => 'manager',
          'context' => 'normal',
          'priority' => 'high',
          'fields' => array(
              array(
                  'name' => 'Position',
                  'desc' => 'What is their role within the company?',
                  'id' => $prefix . 'position',
                  'type' => 'text',
                  'std' => 'Manager'
              )
      )

    I agree additional hooks for meta handling would make the process easier, but given the work you've already done to have taxonomies define-able against custom post types and the above sample, it might be much easier than you think to include post boxes with 3.0.

  7. Ovidiu
    Member
    Posted 4 years ago #

    wow. this seems to be developing into the right direction, will definitely keep an eye on this plugin!

  8. Jason Pelker
    Member
    Posted 4 years ago #

    Bump. This plugin is too useful not to be known throughout the WP community.

    Here's an article about custom post types, fyi: http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags