Making LJ Beautiful

Jan 16, 2009 08:59

I'm making LJ a more visually stimulating place -
find out how you can too!

layouts

Leave a comment

Comments 4

RE: post avatar (wordpress) agneson9 February 16 2009, 12:05:26 UTC
Having trouble loading your website. Looking for info about custom fields.

Reply

Re: post avatar (wordpress) garinungkadol February 19 2009, 08:20:45 UTC
The site was down for a bit but it should be back up.

What kind of information are you looking for on custom fields?

Reply

agneson9 February 20 2009, 11:26:43 UTC
I wanted to print potential meta info. The only way that I know of was to insert . When I do that it also prints 'postuserpic' /asdfjkl.jpg, as part of post avatar.

I like to know how to get around it, since I wanted to use the custom field to be able to credit who the icon maker is.

Reply

garinungkadol February 20 2009, 13:26:43 UTC
Yeah, unfortunately the_meta() displays all custom fields.

To show a specific field, use:
get_post_meta($post->ID, 'your_custom_field_name', true);

See the WordPress codex for details

Reply


Leave a comment

Up