[Plugin: Edit Flow] Support for Editorial Metadata on Pages (5 posts)

  1. dvdwlsh
    Posted 4 years ago #

    I've got a quick Edit Flow plugin question that I hope has a simple answer/patch:

    Problem: Editorial Metadata panel is not shown on Pages
    I was running v0.5 before. I had an "Editorial Metadata" box available on both Postsand Pages. Just updated to 0.6 (primarily for the custom metadata feature) and no longer have any Editorial Metadata options for Pages(only Posts).

    It also seems the Story Budget and other areas only acknowledge/display Posts.

    So, question is: is there a way to enable the same features for Pages as we have for Posts? Our entire site (a WP-powered membership course) is based on Pages.

    Potential solution
    It seems to work somewhat if I just replace 'post' with 'page' on line 389 of editorial_metadata.php:

    389: add_meta_box( $this->metadata_taxonomy, __( 'Editorial Metadata', 'edit-flow' ), array( &$this, 'display_meta_box' ), 'post', 'side'

    389: add_meta_box( $this->metadata_taxonomy, __( 'Editorial Metadata', 'edit-flow' ), array( &$this, 'display_meta_box' ), 'page', 'side'

    Doing this creates the below visual quirk, and the actual metadata does not save to the database:

    - Original (on new Post): http://cl.ly/3q442l2o3k29191M382e
    - After modification (on new Page): http://cl.ly/3n1x2R0D2Z3o3U033M3G

    Any help or temporary patches would be massively appreciated.


  2. Scott Bressler
    Posted 4 years ago #

    Hi David,

    Thanks for your feedback and feature request. The difference in display is because the editorial metadata CSS is only loaded on the 'post' page.

    We've already worked page support into Edit Flow for the next version (likely v0.6.1). If you can, hang tight for our official release, or take a look at this change to see the other changes needed to add support for pages to editorial metadata. You can download the latest here.

    If you do test the latest, please let us know how it goes and/or if you find any issues with page support.



  3. Mohammad Jangda
    Posted 4 years ago #

    Thanks for the note @dvdwlsh!

    We've got support for Pages (& other post types) in the works. If you're feeling daring, you can grab the development version from our github repo which should add metadata support to pages: https://github.com/danielbachhuber/Edit-Flow/commit/2850aa776c1027631efa37a2647f858f2813a7dc

  4. Scott Bressler
    Posted 4 years ago #

    Support for custom post types is now available in Edit Flow v0.6.1: http://www.editflow.org/2011/01/10/v0-6-1-custom-post-type-support-and-minor-improvements/. Check it out and let us know how it goes.

  5. Scott Bressler
    Posted 4 years ago #

    Hi David,

    Can you please mark this issue as resolved if page support is working for you with the latest version of Edit Flow?


Topic Closed

This topic has been closed to new replies.

About this Topic