Home Forums Theme support Estend Theme : use some existing fields

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 10 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Dear all

    I would like input some existing fields in my estate-single-default.php page.

    Now, to use the field Adresse (displayed on left column of object description), I must use the following syntax
    $custom = get_post_custom($post->ID);
    $eadress = $custom[“eadress”][0];

    Could you please give me the correct syntax to use the following fields (right column of object description)

    Infos Agence:

    Owner Name
    Owner Adress
    Owner City
    Owner Phone
    Owner Fax
    Owner Mobile
    Owner Email
    Owner Website
    Payment
    Commission
    Max. abatement
    Divers
    Note:

    Thanks a lot for your help

    Regards

    Franck

    Ok, here are the strings:

    $oname = $custom[“oname”][0];

    $oadress = $custom[“oadress”][0];

    $ocity = $custom[“ocity”][0];

    $ophone = $custom[“ophone”][0];

    $ofax = $custom[“ofax”][0];

    $omobile = $custom[“omobile”][0];

    $oemail = $custom[“oemail”][0];

    $owebsite = $custom[“owebsite”][0];

    $ocommission = $custom[“ocommission”][0];

    $omaxminus = $custom[“omaxminus”][0];

    $onote = $custom[“onote”][0];

    You’re the best 🙂

    Merci

    Your welcome!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.