add_action('add_meta_boxes','init_metabox'); function init_metabox(){ add_meta_box('info_client', 'Informations sur le client', 'info_client', 'ouvrage', 'side'); } function info_client($post){ $nom = get_post_meta($post->ID,'_nom',true); $prenom = get_post_meta($post->ID,'_prenom',true); $civilite = get_post_meta($post->ID,'_civilite',true); $societe = get_post_meta($post->ID,'_societe',true); $adresse = get_post_meta($post->ID,'_adresse',true); $mail = get_post_meta($post->ID,'_mail',true); $tel = get_post_meta($post->ID,'_tel',true); ?>