Automattic/Co-Authors-Plus — pull request #156 by alpha1 (2013-12-17 18:41:18+00:00)
Title: Guest-Authors Need Support for Other Input types than "text"

Right now, for any of the existing groups in a guest author's profile, the only allowed input type is text, as hardcoded by `metabox_manage_guest_author_slug()` and `metabox_manage_guest_author_name()`.

You can get around this by create a new group and metabox, but that is more work than should be needed.

I propose, as my pull request commits state, 3 Changes to make this happen.
1). Add an optional attribute to the fields, to allow it to hold the requested input type. Anything without this set, would fall back to text.
2). A change in how the form is echoed out, so that fields like checkbox can act and look differently (Checkbox should not have the class of "regular-text"). My method is a switch statement, but it could be a filter that is/can be applied to a entry based on its name and field input type.

3) A Filter, to allow easy overriding of the default on a per field basis.

4) Optional: change email's input type to 'email', website to 'url', and apply input type 'hidden' to the ID field.

Below is an example of what's possible with my code:
![co-authors-plus-improved-guest-author-profiles](https://f.cloud.github.com/assets/138439/1766823/b2f431c2-674a-11e3-9921-334a1e9f215b.PNG)