If I understand correctly, registration of connection-types for a site has to be done in code (a custom plugin or the theme’s functions.php) and there is also no Admin interface for creating connection types.
-Register a Post Type of “Connection Type”
-To create a new connection type, user would create a new post of type “Connection Type”
-Provide meta-data UI fields for the admin to select/enter/edit relevant information (all the available elements of the register_connection_type function). The user could also use standard post fields (Content, Excerpts, etc) as well as taxonomies for the purposes of additional documentation.
-Add a function to run at INIT that grabs all the Connection Types and loops through them, spitting out a register_connection_type foreach one.
That’s the basic idea.
1. Is anyone else already working on something like this? (So I don’t duplicate effort)
2. Would anyone besides me find this helpful?
3. Is storing Connection Type information in this manner a terrible idea?
- The topic ‘[Plugin: Posts 2 Posts] IDEA: UI for creating post connections, saving connections in DB’ is closed to new replies.