Custom Field for Wordpress

Discussion in 'HTML & Website Design' started by Pachebi, Apr 23, 2010.

  1. #1
    Hello

    I have Wordpress Blog, I want to do such thing.
    For each post have field, for example "File Size: " and in admin panel also the field "File Size: "
    When i make new Post and type in the File size something appear on each post.

    Is it clear?
    Sorry for my english
     
    Pachebi, Apr 23, 2010 IP
  2. digital29

    digital29 Peon

    Messages:
    462
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put <?php get_post_meta($post->ID, 'size' , true); ?> in your themes files, in posts, where you want the field information to appear, and when you publish a post, put a custom field called "size", with the info you want
    more info here
     
    digital29, Apr 23, 2010 IP