I did these tree tutorials to create custom metaboxes.
- wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-1-intro-and-basic-fields/
- wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-2-advanced-fields/
- wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-3-extra-fields/
but i don't know how to call values from individual fields. I used this php script
$meta = get_post_meta($post->ID, $field['id'], true);
echo $meta;
but id doesn't work. Does someone know what I do wrong.
here is my function.php http://www.4shared.com/file/8jmKqGFY/functions.html?
and here is my index.php http://www.4shared.com/file/iAWwZim7/index.html?
$field['id']with the actual id you gave the field – Bainternet♦ Mar 2 '12 at 10:06print_r( get_post_custom_keys($post_id) );and you will see all the meta keys associated with that post. (Also for code sharing, I would suggest something like Pastie) – Cristian Mar 7 '12 at 8:59