• heinryx

    (@heinryx)


    I am creating a sort of community of contributors that can create custom posts (PODS), maked of custom fields (PODS and ACF). The problem is that the standard interface to do new posts is too configurable. For example the contributor can drag the windows relative to custom fields, or hide accidentally the area on the right with category, featured image etc. I need a solution to fix the interface or a solution to get a simple alternative interface not configurable. Otherwise inexperienced users will be in trouble, I am sure. Anyone can help me? Thank

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The metabox ordering and panel preferences are saved in usermeta. You can use the “update_user_metadata” filter to prevent certain metadata from being altered. Return null to allow, non-null to prevent. Users can still rearrange their editor screen, but it will not persist. Reloading would revert to default.

    Panel preferences are under the “wp_persisted_preferences” meta_key. Box ordering and screen layout are under "meta-box-order_$page" and "screen_layout_$page" keys. The value of $page relates to the current edit screen. For the normal post edit screen, the value is “post”. For custom post types it’s likely the post type name (unconfirmed). You can confirm by using your browser’s network developer tool to examine the Ajax request that results from moving a metabox.

Viewing 1 replies (of 1 total)
  • The topic ‘Fix or changing the interface to create a post by a contributor or other role’ is closed to new replies.