Q:

hard code custom field for custom post type in wordpress

I have created a custom post type in wordpress called videos. When the admin adds a video he also needs to provide a youtube-id. This can be done by selecting the appropriate custom field from the drop-down list and then entering the ID.
I was wondering though, isn't there a way to always display that custom field when you are adding or editing a video? (And optionally, could you even make it a required field?)

A:

I'll just answer my own question after 8 years :)
For people who live on another planet: just use the ACF plugin

