[Plugin: Edit Flow] Support for Editorial Metadata on Pages
-
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 line389
ofeditorial_metadata.php
:Old:
389: add_meta_box( $this->metadata_taxonomy, __( 'Editorial Metadata', 'edit-flow' ), array( &$this, 'display_meta_box' ), 'post', 'side'
New:
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): https://cl.ly/3q442l2o3k29191M382e
– After modification (on new Page): https://cl.ly/3n1x2R0D2Z3o3U033M3GAny help or temporary patches would be massively appreciated.
Best,
David
- The topic ‘[Plugin: Edit Flow] Support for Editorial Metadata on Pages’ is closed to new replies.