Use the following Wordpress snippet to add a Custom Field to a page/post etc with a shortcode. Add the following to your theme's functions.php file and then see the usage underneath.

Note that this needs to be in the WordPress Loop.