I'm working on a site where the Q&A includes more fields than the default, and where the order of the entry of the fields is also non-default. So for example we may add an extra text field, a numeric field, and a drop-down selection for another text field. The category will go above the title field and we might not even use the description. Of course the pages that enter and display questions will need to be modified, and related answers may need modification as well.
I know these are virtual pages, I've already modified some of the code.
I'd like to know if there is a general guide somewhere for modifying a post type like 'question' and making these other enhancements. Blog? Video? I'm taking the day today (ongoing effort really) to research this topic and look for resources and tips.
For example, moving a field is easy and doesn't affect functionality. But:
- I don't know yet where to modify the form submission code that populates and saves the post type.
- I don't know what other considerations there are for this sort of "sub-classing".
- I don't know how badly I'm going to fork my code from the base and preclude updates.
I really wish this plugin were implemented differently, where 'question' is a common custom post type, editable with other common plugins, and where the UI were rendered using common templates of the WP hierarchy. Is there anything we can do to re-align this plugin in that direction without losing the value-add of the whole Q&A concept?