Sidenotes Wordpress
- Started
- Last post
- 5 Responses
- Anders0
Actually this is what I was searching for (not wordpress, just an xhtml example):
http://www.brandspankingnew.net/…
- acescence0
add a custom field to your post (custom fields is a dropdown when you are creating a post).
insert a template tag in single.php to fetch the meta data (where custom fields are stored) and print it on your page.
<?php the_meta(); ?>
- will print all meta data in ul with each field being an lior
get_post_meta($post_id, $key, $single);
- gives access to fields individually
- $post_id is the ID of the post you want the meta values for. Use $post->ID to get a post's ID.
- $key is a string containing the name of the meta value you want.
- $single can either be true or false. If set to true then the function will return a single result, as a string. If false, or not set, then the function returns an array of the custom fields.
- Anders0
Thanks ace,
the easiest way would probably be modifying this plugin
http://flagrantdisregard.com/foo…
to post the to the right of the insertion of the foot/side-note comment. Now I just need to figure out how.. or goto:sleep