-
Notifications
You must be signed in to change notification settings - Fork 5
Roadmap
Aurovrata V edited this page Nov 27, 2020
·
2 revisions
I have in mind to rewrite the factory, make it simpler, and introduce an automatic mapping function:
- the first
textfield -> maps to thetitleof a post. - the first
textareamaps to the content, else the nexttextfield. - subsequent fields all get mapped to meta fields.
- empty
dropdown/checkbox/radiofields are left unmapped (user can map it to taxonomies). - each mapped field can be changed with a dropdown (as is the case currently).
a number of users have complained that the mapped values do not register with the ACF created meta-fields (checkbox / files).
Ideally the plugin should,
- retrieve the list of meta-fields associated with the mapped post type created using the ACF plugin,
- save the field values to the format expected by the ACF plugin.
currently post_types created with the plugin only get registered when the mapping is published.
I propose to change this. The post_type is registered once saved, and the draft/publish becomes a flag only. Only published mappings will save to posts. Draft will suspend the saving, but the post type will nonetheless exist.
This has 2 advantages,
- it will allow to simplify the factory class, use a single one instaed of currently distinguishing between system/plugin post types.
- it will allow users to suspend the saving of new submission while still being able to view posts that were previously saved.