wecobble / Subtitles

Add subtitles into your WordPress posts, pages, custom post types, and themes. No coding required. Simply activate Subtitles and you're ready to go.
http://wordpress.org/plugins/subtitles/
GNU General Public License v2.0
117 stars 186 forks source link

UI for enabling custom post types support #77

Open KerryRitter opened 8 years ago

KerryRitter commented 8 years ago

It would be great to have a UI that allows enabling the plugin for a post type.

philiparthurmoore commented 8 years ago

@KerryRitter, thanks for bringing this up. That seems somewhat complicated, given how simple it is to already add support for Subtitles into a custom post type already, no?

KerryRitter commented 8 years ago

It seems like it'd be relatively simple. The downside of config is that it's a little tricky to find that you need to do that. Doing it is no problem in itself, but it's much more discoverable if there is an available UI.

I would imagine it would be possible to store a string array storing the name of the custom post types the user has enabled, and then looping through that array and calling the method to enable support. The UI could be a listing of the custom post types (get_post_types) with checkboxes.

philiparthurmoore commented 8 years ago

@KerryRitter, thanks. I'll tag this as an enhancement and see what we can do in a future release.