Custom Post Type
-
Hello. Sorry to be such a newb, but in your FAQ on GitHub you say that in order to add Custom Post Type support, I should
add_post_type_support in a function hooked to init, for example: function theme_slug_add_subtitles_support() { add_post_type_support( 'custom-post-type-slug', 'subtitles' ); } add_action( 'init', 'theme_slug_add_subtitles_support' );
I have no idea where do that.
In my case, I installed the Seriously Simple Podcasts plugin, and it creates Podcast Episodes as a Post Type. However, when I create an episode, Subtitle is not there the way it is on a regular post.
So, can you walk me through where exactly I need to go the add the above code?
Thanks in advance.
Heino
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Custom Post Type’ is closed to new replies.