/ Published in: PHP
This will output the resulting meta value (notice the addition of "echo"):
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>
URL: http://codex.wordpress.org/Using_Custom_Fields