Add a custom field when adding / editing a page / post in admin panel
You could also use Advanced Custom Fields Plugin. It allows you to create whatever type of field you wish, and then adds it to posts or pages (or both). After that, it is pretty simple to call within the wordpress loop.