Add semantics to post-meta

git-svn-id: http://svn.automattic.com/wordpress/trunk@1027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3 2004-03-29 18:46:33 +00:00
parent 624b6a3f25
commit cab624959f
1 changed files with 2 additions and 2 deletions

View File

@ -473,12 +473,12 @@ function the_meta() {
global $id, $post_meta_cache; global $id, $post_meta_cache;
if ($keys = get_post_custom_keys()) { if ($keys = get_post_custom_keys()) {
echo "<ul>\n"; echo "<ul class='post-meta'>\n";
foreach ($keys as $key) { foreach ($keys as $key) {
$values = array_map('trim',$post_meta_cache[$id][$key]); $values = array_map('trim',$post_meta_cache[$id][$key]);
$value = implode($values,', '); $value = implode($values,', ');
echo "<li><b>$key:</b> $value</li>\n"; echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n";
} }
echo "</ul>\n"; echo "</ul>\n";
} }