„Using Custom Fields In Your WordPress Template »“:http://return-true.com/2010/06/using-custom-fields-in-your-wordpress-template/
/—code php
// key = název (klíč) uživatelského pole
// $post->ID lze použít pouze v loopu
if($data = get_post_meta($post->ID, ‚key‘, true)) {
echo $data;
}
// v případě pole
if($data = get_post_meta($post->ID, ‚key‘)) {
echo $data[0];
echo $data[1];
}
\—
„Detailed example“:http://codex.wordpress.org/Function_Reference/post_meta_Function_Examples for the usage of the add_post_meta, delete_post_meta, update_post_meta, and get_post_meta functions.