is it possible to add an extra field to a custom post type?
-
I have created a custom post type in my theme’s functions.php file, called videos. When an author adds a video he will need to provide a youtube ID.
I know this can be done by adding a custom field, but I don’t think that’s user friendly for the author, because he will have to select youtube ID from the dropdown list first.
So I was wondering if there is a way to actually hard code the youtube ID field so it is directly displayed underneath the comment box whenever you add or edit a video-post? (And if possible even make this field required?)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘is it possible to add an extra field to a custom post type?’ is closed to new replies.