Some help please

Discussion in 'WordPress' started by UKmember, Dec 29, 2009.

  1. #1
    Hi,
    In one of our wordpress themes i have two custom fields (Video and Thumbnail) how would i add these two custom fields to our new wordpress theme?

    Can someone please help?

    Cheers
     
    UKmember, Dec 29, 2009 IP
  2. boomer_mitra

    boomer_mitra Active Member

    Messages:
    817
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    you should consult some wordpress coder :)
    Why don't you try at BST?
     
    boomer_mitra, Dec 29, 2009 IP
  3. addlinkurl

    addlinkurl Well-Known Member

    Messages:
    2,409
    Likes Received:
    129
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #3
    add them in your theme files:

    <?php $values = get_post_custom_values("Video"); echo $values[0]; ?>

    if you are using the thumbnail url:
    <img src="<?php $values = get_post_custom_values("Thumbnail"); echo $values[0]; ?>" alt="" />
     
    addlinkurl, Dec 29, 2009 IP