{"id":1772960,"date":"2010-11-16T20:24:18","date_gmt":"2010-11-16T20:24:18","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-edit-flow\/"},"modified":"2016-08-19T20:40:52","modified_gmt":"2016-08-19T20:40:52","slug":"plugin-edit-flow","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-edit-flow\/","title":{"rendered":"[Plugin: Edit Flow] Support for Editorial Metadata on Pages"},"content":{"rendered":"<p>I&#8217;ve got a quick <strong>Edit Flow<\/strong> plugin question that I hope has a simple answer\/patch:<\/p>\n<p><strong>Problem: Editorial Metadata panel is not shown on Pages<\/strong><br \/>\nI was running v0.5 before. I had an &#8220;Editorial Metadata&#8221; 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).<\/p>\n<p>It also seems the Story Budget and other areas only acknowledge\/display <strong>Posts<\/strong>.<\/p>\n<p>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.<\/p>\n<p><strong>Potential solution<\/strong><br \/>\nIt seems to work somewhat if I just replace <code>&#039;post&#039;<\/code> with <code>&#039;page&#039;<\/code> on line <code>389<\/code> of <code>editorial_metadata.php<\/code>:<\/p>\n<p><strong>Old:<\/strong><br \/>\n<code>389: add_meta_box( $this-&gt;metadata_taxonomy, __( &#039;Editorial Metadata&#039;, &#039;edit-flow&#039; ), array( &amp;$this, &#039;display_meta_box&#039; ), &#039;post&#039;, &#039;side&#039;<\/code><\/p>\n<p><strong>New:<\/strong><br \/>\n<code>389: add_meta_box( $this-&gt;metadata_taxonomy, __( &#039;Editorial Metadata&#039;, &#039;edit-flow&#039; ), array( &amp;$this, &#039;display_meta_box&#039; ), &#039;page&#039;, &#039;side&#039;<\/code><\/p>\n<p>Doing this creates the below visual quirk, and the actual metadata does not save to the database:<\/p>\n<p>&#8211; Original (on new Post): http:\/\/cl.ly\/3q442l2o3k29191M382e<br \/>\n&#8211; After modification (on new Page): http:\/\/cl.ly\/3n1x2R0D2Z3o3U033M3G<\/p>\n<p>Any help or temporary patches would be massively appreciated.<\/p>\n<p>Best,<br \/>\nDavid<\/p>\n","protected":false},"template":"","class_list":["post-1772960","topic","type-topic","status-closed","hentry","topic-tag-editflow"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1772960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1772960\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1772960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}