This link has been bookmarked by 31 people . It was first bookmarked on 05 Aug 2006, by Ian McNaught.
-
hishamdewanWordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can include bits of information such as:
* Mood: Happy
* Currently Reading: Cinderella
* -
-
get_post_meta($post_id, $key, $single);
-
-
-
You only need to create a new "KEY" once, after which you can assign a value to that key for every post
-
-
Hua Li<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>
-
Chris Markle<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>
-
Amy GahranThis might be useful to Contentious at some point
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.