An additional Meta Key Function — Please Help Me
-
I want to modify this function and create one for identify a particular META KEY “small_picture” and when called return the link to image specified by me…
PLEASE MODIFY IT ….IF YOU CAN
thanks in advance !
function the_meta() {
global $id, $post_meta_cache;if ( $keys = get_post_custom_keys() ) {
echo “<ul class=’post-meta’>\n”;
foreach ( $keys as $key ) {
$values = array_map(‘trim’, get_post_custom_values($key));
$value = implode($values,’, ‘);
echo “<span class=’post-meta-key’>$key:</span> $value\n”;
}
echo “\n”;
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘An additional Meta Key Function — Please Help Me’ is closed to new replies.